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

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

Powered by Google App Engine
This is Rietveld 408576698