| Index: Source/wtf/Uint16Array.h
|
| diff --git a/Source/wtf/Uint16Array.h b/Source/wtf/Uint16Array.h
|
| index 5f4b04ac9aab5ba35ee2feeee4e0966d36c9044c..5b03ff07c1e851b03a67f0729cf492a0ace7ab4a 100644
|
| --- a/Source/wtf/Uint16Array.h
|
| +++ b/Source/wtf/Uint16Array.h
|
| @@ -39,16 +39,9 @@ public:
|
| static inline PassRefPtr<Uint16Array> create(const unsigned short* array, unsigned length);
|
| static inline PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
|
|
|
| - // Should only be used when it is known the entire array will be filled. Do
|
| - // not return these results directly to JavaScript without filling first.
|
| - static inline PassRefPtr<Uint16Array> createUninitialized(unsigned length);
|
| -
|
| using TypedArrayBase<unsigned short>::set;
|
| using IntegralTypedArrayBase<unsigned short>::set;
|
|
|
| - inline PassRefPtr<Uint16Array> subarray(int start) const;
|
| - inline PassRefPtr<Uint16Array> subarray(int start, int end) const;
|
| -
|
| virtual ViewType type() const override
|
| {
|
| return TypeUint16;
|
| @@ -77,26 +70,11 @@ PassRefPtr<Uint16Array> Uint16Array::create(PassRefPtr<ArrayBuffer> buffer, unsi
|
| return TypedArrayBase<unsigned short>::create<Uint16Array>(buffer, byteOffset, length);
|
| }
|
|
|
| -PassRefPtr<Uint16Array> Uint16Array::createUninitialized(unsigned length)
|
| -{
|
| - return TypedArrayBase<unsigned short>::createUninitialized<Uint16Array>(length);
|
| -}
|
| -
|
| Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| : IntegralTypedArrayBase<unsigned short>(buffer, byteOffset, length)
|
| {
|
| }
|
|
|
| -PassRefPtr<Uint16Array> Uint16Array::subarray(int start) const
|
| -{
|
| - return subarray(start, length());
|
| -}
|
| -
|
| -PassRefPtr<Uint16Array> Uint16Array::subarray(int start, int end) const
|
| -{
|
| - return subarrayImpl<Uint16Array>(start, end);
|
| -}
|
| -
|
| } // namespace WTF
|
|
|
| using WTF::Uint16Array;
|
|
|