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

Unified Diff: Source/core/dom/DOMTypedArray.cpp

Issue 1017183003: Make DOMTypedArray exported. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/dom/DOMTypedArray.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMTypedArray.cpp
diff --git a/Source/core/dom/DOMTypedArray.cpp b/Source/core/dom/DOMTypedArray.cpp
index ec4d1c7a9aabae4552bc3c47b7fbc9d6194f432c..7f0d8d6968d8bf4c989e6c97b47b94cc531bf158 100644
--- a/Source/core/dom/DOMTypedArray.cpp
+++ b/Source/core/dom/DOMTypedArray.cpp
@@ -57,4 +57,15 @@ INSTANTIATE_DOMTYPEDARRAY_MEMBER_FUNCTIONS(Float64);
#undef INSTANTIATE_DOMTYPEDARRAY_MEMBER_FUNCTIONS
#undef INSTANTIATE_DOMTYPEDARRAY_MEMBER_FUNCTIONS_IMPL
+template PassRefPtr<DOMTypedArray<WTF::Int8Array, v8::Int8Array>> DOMTypedArray<WTF::Int8Array, v8::Int8Array>::create(unsigned length);
+template PassRefPtr<DOMTypedArray<WTF::Int8Array, v8::Int8Array>> DOMTypedArray<WTF::Int8Array, v8::Int8Array>::create(const WTF::Int8Array::ValueType*, unsigned length);
tasak 2015/03/19 11:17:24 Since WTF::Int8Array doesn't have createOrNull, th
Yuki 2015/03/19 11:56:02 It seems we have two options. 1. Add WTF::Int8Arr
tasak 2015/03/20 04:34:47 I would like to instantiate template in per-method
+
+template PassRefPtr<DOMTypedArray<WTF::Uint8Array, v8::Uint8Array>> DOMTypedArray<WTF::Uint8Array, v8::Uint8Array>::create(unsigned length);
+template PassRefPtr<DOMTypedArray<WTF::Uint8Array, v8::Uint8Array>> DOMTypedArray<WTF::Uint8Array, v8::Uint8Array>::create(const WTF::Uint8Array::ValueType*, unsigned length);
+template WTF::Uint8Array::ValueType* DOMTypedArray<WTF::Uint8Array, v8::Uint8Array>::data() const;
+
+template PassRefPtr<DOMTypedArray<WTF::Float32Array, v8::Float32Array>> DOMTypedArray<WTF::Float32Array, v8::Float32Array>::createOrNull(unsigned length);
+template bool DOMTypedArray<WTF::Float32Array, v8::Float32Array>::zeroRange(unsigned offset, size_t length);
+template bool DOMTypedArray<WTF::Float32Array, v8::Float32Array>::setRange(const DOMTypedArray<WTF::Float32Array, v8::Float32Array>::ValueType* data, size_t dataLength, unsigned offset);
+
} // namespace blink
« no previous file with comments | « Source/core/dom/DOMTypedArray.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698