| Index: Source/wtf/Float32Array.h
|
| diff --git a/Source/wtf/Float32Array.h b/Source/wtf/Float32Array.h
|
| index 4f5580d6f7f0007989ee281822e9130494e9e8d1..5b01b5e05b23ee6a93ff74fdb6bcec8166bc05bc 100644
|
| --- a/Source/wtf/Float32Array.h
|
| +++ b/Source/wtf/Float32Array.h
|
| @@ -40,10 +40,6 @@ public:
|
|
|
| static inline PassRefPtr<Float32Array> createOrNull(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<Float32Array> createUninitialized(unsigned length);
|
| -
|
| using TypedArrayBase<float>::set;
|
|
|
| void set(unsigned index, double value)
|
| @@ -53,9 +49,6 @@ public:
|
| TypedArrayBase<float>::data()[index] = static_cast<float>(value);
|
| }
|
|
|
| - inline PassRefPtr<Float32Array> subarray(int start) const;
|
| - inline PassRefPtr<Float32Array> subarray(int start, int end) const;
|
| -
|
| virtual ViewType type() const override
|
| {
|
| return TypeFloat32;
|
| @@ -89,26 +82,11 @@ PassRefPtr<Float32Array> Float32Array::createOrNull(unsigned length)
|
| return TypedArrayBase<float>::createOrNull<Float32Array>(length);
|
| }
|
|
|
| -PassRefPtr<Float32Array> Float32Array::createUninitialized(unsigned length)
|
| -{
|
| - return TypedArrayBase<float>::createUninitialized<Float32Array>(length);
|
| -}
|
| -
|
| Float32Array::Float32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| : TypedArrayBase<float>(buffer, byteOffset, length)
|
| {
|
| }
|
|
|
| -PassRefPtr<Float32Array> Float32Array::subarray(int start) const
|
| -{
|
| - return subarray(start, length());
|
| -}
|
| -
|
| -PassRefPtr<Float32Array> Float32Array::subarray(int start, int end) const
|
| -{
|
| - return subarrayImpl<Float32Array>(start, end);
|
| -}
|
| -
|
| } // namespace WTF
|
|
|
| using WTF::Float32Array;
|
|
|