Index: Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp |
diff --git a/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp b/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp |
index 5dab691b7f826821befd615de90fbb4ff1921880..a40bb37fff36edec13738a40d0449235d35d3ea2 100644 |
--- a/Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp |
+++ b/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; } |