Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: Source/bindings/modules/v8/custom/V8CryptoKeyCustom.cpp

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
}

Powered by Google App Engine
This is Rietveld 408576698