Chromium Code Reviews| 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 |