summaryrefslogtreecommitdiff
path: root/dom/crypto
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-09-27 18:25:48 -0500
committerBrian Smith <brian@dbsoft.org>2023-09-27 18:25:48 -0500
commit552d964ae753d0a90db3180f8ad92eb2537115a9 (patch)
tree83e5e6639f26e22ce9fac046d845c862fb0427ce /dom/crypto
parent0099fc16278bb9859a6ee7c7b10b78509b4d183a (diff)
downloaduxp-552d964ae753d0a90db3180f8ad92eb2537115a9.tar.gz
Issue #1442 - Part 5: Implement WebIDL bindings for Streams.
https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
Diffstat (limited to 'dom/crypto')
-rw-r--r--dom/crypto/WebCryptoTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/crypto/WebCryptoTask.cpp b/dom/crypto/WebCryptoTask.cpp
index ed47325f8d..34a4c877d7 100644
--- a/dom/crypto/WebCryptoTask.cpp
+++ b/dom/crypto/WebCryptoTask.cpp
@@ -1366,7 +1366,7 @@ public:
mDataIsJwk = false;
// Try ArrayBuffer
- RootedTypedArray<ArrayBuffer> ab(aCx);
+ RootedSpiderMonkeyInterface<ArrayBuffer> ab(aCx);
if (ab.Init(aKeyData)) {
if (!mKeyData.Assign(ab)) {
mEarlyRv = NS_ERROR_DOM_OPERATION_ERR;
@@ -1375,7 +1375,7 @@ public:
}
// Try ArrayBufferView
- RootedTypedArray<ArrayBufferView> abv(aCx);
+ RootedSpiderMonkeyInterface<ArrayBufferView> abv(aCx);
if (abv.Init(aKeyData)) {
if (!mKeyData.Assign(abv)) {
mEarlyRv = NS_ERROR_DOM_OPERATION_ERR;