| Index: Source/wtf/Uint8Array.h
|
| diff --git a/Source/wtf/Uint8Array.h b/Source/wtf/Uint8Array.h
|
| index a5ed57743854d92acd3d8a8c069512efd0eeb1c4..f7b6e804ac3a43e9adaaf622ca8f016168da3b06 100644
|
| --- a/Source/wtf/Uint8Array.h
|
| +++ b/Source/wtf/Uint8Array.h
|
| @@ -39,16 +39,9 @@ public:
|
| static inline PassRefPtr<Uint8Array> create(const unsigned char* array, unsigned length);
|
| static inline PassRefPtr<Uint8Array> 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<Uint8Array> createUninitialized(unsigned length);
|
| -
|
| using TypedArrayBase<unsigned char>::set;
|
| using IntegralTypedArrayBase<unsigned char>::set;
|
|
|
| - inline PassRefPtr<Uint8Array> subarray(int start) const;
|
| - inline PassRefPtr<Uint8Array> subarray(int start, int end) const;
|
| -
|
| virtual ViewType type() const override
|
| {
|
| return TypeUint8;
|
| @@ -77,26 +70,11 @@ PassRefPtr<Uint8Array> Uint8Array::create(PassRefPtr<ArrayBuffer> buffer, unsign
|
| return TypedArrayBase<unsigned char>::create<Uint8Array>(buffer, byteOffset, length);
|
| }
|
|
|
| -PassRefPtr<Uint8Array> Uint8Array::createUninitialized(unsigned length)
|
| -{
|
| - return TypedArrayBase<unsigned char>::createUninitialized<Uint8Array>(length);
|
| -}
|
| -
|
| Uint8Array::Uint8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| : IntegralTypedArrayBase<unsigned char>(buffer, byteOffset, length)
|
| {
|
| }
|
|
|
| -PassRefPtr<Uint8Array> Uint8Array::subarray(int start) const
|
| -{
|
| - return subarray(start, length());
|
| -}
|
| -
|
| -PassRefPtr<Uint8Array> Uint8Array::subarray(int start, int end) const
|
| -{
|
| - return subarrayImpl<Uint8Array>(start, end);
|
| -}
|
| -
|
| } // namespace WTF
|
|
|
| using WTF::Uint8Array;
|
|
|