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

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

Issue 1436153002: Apply clang-format with Chromium-style without column limit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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..5b57e13860afc770295846cd01cd9e4bbbf58c65 100644
--- a/third_party/WebKit/Source/wtf/Int8Array.h
+++ b/third_party/WebKit/Source/wtf/Int8Array.h
@@ -34,47 +34,42 @@ 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)
-{
+ : 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