Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: third_party/WebKit/Source/wtf/Uint32Array.h

Issue 1611343002: wtf reformat test Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pydent Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/Uint16Array.h ('k') | third_party/WebKit/Source/wtf/Uint8Array.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/Source/wtf/Uint16Array.h ('k') | third_party/WebKit/Source/wtf/Uint8Array.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698