Chromium Code Reviews| 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 ba52c8d2609c23025281df004fe3cb5f926be563..a77b600725e232597eba5fd56cddf1ca108bb234 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,7 +43,7 @@ public: |
| virtual void setUint8Array(const char* propertyName, const blink::WebVector<unsigned char>& vector) |
| { |
| - RefPtr<Uint8Array> uint8Array = Uint8Array::create(vector.data(), vector.size()); |
| + RefPtr<DOMUint8Array> uint8Array = DOMUint8Array::create(vector.data(), vector.size()); |
| m_dictionary.set(propertyName, toV8(uint8Array.get(), m_holder, m_isolate)); |
|
haraken
2014/10/16 05:41:41
uint8Array.get() => uint8Array.release()
or you c
Yuki
2014/10/16 14:21:50
Done.
|
| } |