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