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

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

Powered by Google App Engine
This is Rietveld 408576698