diff options
Diffstat (limited to 'Source/WebCore/html/canvas/Uint32Array.h')
-rw-r--r-- | Source/WebCore/html/canvas/Uint32Array.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/WebCore/html/canvas/Uint32Array.h b/Source/WebCore/html/canvas/Uint32Array.h index 9c0f137..196a67f 100644 --- a/Source/WebCore/html/canvas/Uint32Array.h +++ b/Source/WebCore/html/canvas/Uint32Array.h @@ -39,11 +39,12 @@ public: static PassRefPtr<Uint32Array> create(unsigned int* array, unsigned length); static PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length); - using TypedArrayBase<unsigned int>::set; - using IntegralTypedArrayBase<unsigned int>::set; + // Can’t use "using" here due to a bug in the RVCT compiler. + void set(TypedArrayBase<unsigned int>* array, unsigned offset, ExceptionCode& ec) { return TypedArrayBase<unsigned int>::set(array, offset, ec); } + void set(unsigned index, double value) { return IntegralTypedArrayBase<unsigned int>::set(index, value); } - PassRefPtr<Uint32Array> slice(int start) const; - PassRefPtr<Uint32Array> slice(int start, int end) const; + PassRefPtr<Uint32Array> subarray(int start) const; + PassRefPtr<Uint32Array> subarray(int start, int end) const; private: Uint32Array(PassRefPtr<ArrayBuffer> buffer, |