summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp')
-rw-r--r--third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp b/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp
index 5dab691..a40bb37 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp
@@ -7,7 +7,7 @@
#include "bindings/core/v8/Dictionary.h"
#include "bindings/core/v8/V8Binding.h"
-#include "bindings/core/v8/custom/V8Uint8ArrayCustom.h"
+#include "bindings/core/v8/V8Uint8Array.h"
#include "public/platform/WebCryptoKeyAlgorithm.h"
#include "wtf/Uint8Array.h"
@@ -43,8 +43,7 @@ public:
virtual void setUint8Array(const char* propertyName, const blink::WebVector<unsigned char>& vector)
{
- RefPtr<Uint8Array> uint8Array = Uint8Array::create(vector.data(), vector.size());
- m_dictionary.set(propertyName, toV8(uint8Array.get(), m_holder, m_isolate));
+ m_dictionary.set(propertyName, toV8(DOMUint8Array::create(vector.data(), vector.size()), m_holder, m_isolate));
}
const Dictionary& dictionary() const { return m_dictionary; }