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

Unified Diff: third_party/WebKit/Source/wtf/Int32Array.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/Int16Array.h ('k') | third_party/WebKit/Source/wtf/Int8Array.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Int32Array.h
diff --git a/third_party/WebKit/Source/wtf/Int32Array.h b/third_party/WebKit/Source/wtf/Int32Array.h
index 39b98e65c838c48205b151f93fc87a642962f198..60af958a148baa7f89e5f21bc68f3d12db3b913a 100644
--- a/third_party/WebKit/Source/wtf/Int32Array.h
+++ b/third_party/WebKit/Source/wtf/Int32Array.h
@@ -32,47 +32,48 @@
namespace WTF {
class Int32Array final : public IntegralTypedArrayBase<int> {
-public:
- static inline PassRefPtr<Int32Array> create(unsigned length);
- static inline PassRefPtr<Int32Array> create(const int* array, unsigned length);
- static inline PassRefPtr<Int32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
+ public:
+ static inline PassRefPtr<Int32Array> create(unsigned length);
+ static inline PassRefPtr<Int32Array> create(const int* array,
+ unsigned length);
+ static inline PassRefPtr<Int32Array> create(PassRefPtr<ArrayBuffer>,
+ unsigned byteOffset,
+ unsigned length);
- using TypedArrayBase<int>::set;
- using IntegralTypedArrayBase<int>::set;
+ using TypedArrayBase<int>::set;
+ using IntegralTypedArrayBase<int>::set;
- ViewType type() const override
- {
- return TypeInt32;
- }
+ ViewType type() const override { return TypeInt32; }
-private:
- inline Int32Array(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
- // Make constructor visible to superclass.
- friend class TypedArrayBase<int>;
+ private:
+ inline Int32Array(PassRefPtr<ArrayBuffer>,
+ unsigned byteOffset,
+ unsigned length);
+ // Make constructor visible to superclass.
+ friend class TypedArrayBase<int>;
};
-PassRefPtr<Int32Array> Int32Array::create(unsigned length)
-{
- return TypedArrayBase<int>::create<Int32Array>(length);
+PassRefPtr<Int32Array> Int32Array::create(unsigned length) {
+ return TypedArrayBase<int>::create<Int32Array>(length);
}
-PassRefPtr<Int32Array> Int32Array::create(const int* array, unsigned length)
-{
- return TypedArrayBase<int>::create<Int32Array>(array, length);
+PassRefPtr<Int32Array> Int32Array::create(const int* array, unsigned length) {
+ return TypedArrayBase<int>::create<Int32Array>(array, length);
}
-PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
-{
- return TypedArrayBase<int>::create<Int32Array>(buffer, byteOffset, length);
+PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer,
+ unsigned byteOffset,
+ unsigned length) {
+ return TypedArrayBase<int>::create<Int32Array>(buffer, byteOffset, length);
}
-Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
- : IntegralTypedArrayBase<int>(buffer, byteOffset, length)
-{
-}
+Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer,
+ unsigned byteOffset,
+ unsigned length)
+ : IntegralTypedArrayBase<int>(buffer, byteOffset, length) {}
-} // namespace WTF
+} // namespace WTF
using WTF::Int32Array;
-#endif // Int32Array_h
+#endif // Int32Array_h
« no previous file with comments | « third_party/WebKit/Source/wtf/Int16Array.h ('k') | third_party/WebKit/Source/wtf/Int8Array.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698