| Index: third_party/WebKit/Source/wtf/Uint32Array.h
|
| diff --git a/third_party/WebKit/Source/wtf/Uint32Array.h b/third_party/WebKit/Source/wtf/Uint32Array.h
|
| index cd9aaa6060161a0e37d700d1bbff0d3e9ae0ae55..e267603fcff65c6eddd9cde0c98d2ba9132de2cc 100644
|
| --- a/third_party/WebKit/Source/wtf/Uint32Array.h
|
| +++ b/third_party/WebKit/Source/wtf/Uint32Array.h
|
| @@ -34,47 +34,50 @@ namespace WTF {
|
| class ArrayBuffer;
|
|
|
| class Uint32Array final : public IntegralTypedArrayBase<unsigned> {
|
| -public:
|
| - static inline PassRefPtr<Uint32Array> create(unsigned length);
|
| - static inline PassRefPtr<Uint32Array> create(const unsigned* array, unsigned length);
|
| - static inline PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
|
| + public:
|
| + static inline PassRefPtr<Uint32Array> create(unsigned length);
|
| + static inline PassRefPtr<Uint32Array> create(const unsigned* array,
|
| + unsigned length);
|
| + static inline PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer>,
|
| + unsigned byteOffset,
|
| + unsigned length);
|
|
|
| - using TypedArrayBase<unsigned>::set;
|
| - using IntegralTypedArrayBase<unsigned>::set;
|
| + using TypedArrayBase<unsigned>::set;
|
| + using IntegralTypedArrayBase<unsigned>::set;
|
|
|
| - ViewType type() const override
|
| - {
|
| - return TypeUint32;
|
| - }
|
| + ViewType type() const override { return TypeUint32; }
|
|
|
| -private:
|
| - inline Uint32Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
|
| - // Make constructor visible to superclass.
|
| - friend class TypedArrayBase<unsigned>;
|
| + private:
|
| + inline Uint32Array(PassRefPtr<ArrayBuffer>,
|
| + unsigned byteOffset,
|
| + unsigned length);
|
| + // Make constructor visible to superclass.
|
| + friend class TypedArrayBase<unsigned>;
|
| };
|
|
|
| -PassRefPtr<Uint32Array> Uint32Array::create(unsigned length)
|
| -{
|
| - return TypedArrayBase<unsigned>::create<Uint32Array>(length);
|
| +PassRefPtr<Uint32Array> Uint32Array::create(unsigned length) {
|
| + return TypedArrayBase<unsigned>::create<Uint32Array>(length);
|
| }
|
|
|
| -PassRefPtr<Uint32Array> Uint32Array::create(const unsigned* array, unsigned length)
|
| -{
|
| - return TypedArrayBase<unsigned>::create<Uint32Array>(array, length);
|
| +PassRefPtr<Uint32Array> Uint32Array::create(const unsigned* array,
|
| + unsigned length) {
|
| + return TypedArrayBase<unsigned>::create<Uint32Array>(array, length);
|
| }
|
|
|
| -PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| -{
|
| - return TypedArrayBase<unsigned>::create<Uint32Array>(buffer, byteOffset, length);
|
| +PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer,
|
| + unsigned byteOffset,
|
| + unsigned length) {
|
| + return TypedArrayBase<unsigned>::create<Uint32Array>(buffer, byteOffset,
|
| + length);
|
| }
|
|
|
| -Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| - : IntegralTypedArrayBase<unsigned>(buffer, byteOffset, length)
|
| -{
|
| -}
|
| +Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer,
|
| + unsigned byteOffset,
|
| + unsigned length)
|
| + : IntegralTypedArrayBase<unsigned>(buffer, byteOffset, length) {}
|
|
|
| -} // namespace WTF
|
| +} // namespace WTF
|
|
|
| using WTF::Uint32Array;
|
|
|
| -#endif // Uint32Array_h
|
| +#endif // Uint32Array_h
|
|
|