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/ArrayPiece.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/ArrayBufferView.cpp ('k') | third_party/WebKit/Source/wtf/ArrayPiece.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/ArrayPiece.h
diff --git a/third_party/WebKit/Source/wtf/ArrayPiece.h b/third_party/WebKit/Source/wtf/ArrayPiece.h
index 7c7c7f1619fe4a81ae1b66f455746549184dcf09..35d20f59e79183bc1fc0e8a2113bf1c38506941d 100644
--- a/third_party/WebKit/Source/wtf/ArrayPiece.h
+++ b/third_party/WebKit/Source/wtf/ArrayPiece.h
@@ -20,35 +20,35 @@ namespace WTF {
// IMPORTANT: The data contained by ArrayPiece is NOT OWNED, so caution must be
// taken to ensure it is kept alive.
class WTF_EXPORT ArrayPiece {
-public:
- // Constructs a "null" ArrayPiece object.
- ArrayPiece();
+ public:
+ // Constructs a "null" ArrayPiece object.
+ ArrayPiece();
- ArrayPiece(void* data, unsigned byteLength);
+ ArrayPiece(void* data, unsigned byteLength);
- // Constructs an ArrayPiece from the given ArrayBuffer. If the input is a
- // nullptr, then the constructed instance will be isNull().
- ArrayPiece(ArrayBuffer*);
- ArrayPiece(ArrayBufferView*);
+ // Constructs an ArrayPiece from the given ArrayBuffer. If the input is a
+ // nullptr, then the constructed instance will be isNull().
+ ArrayPiece(ArrayBuffer*);
+ ArrayPiece(ArrayBufferView*);
- bool isNull() const;
- void* data() const;
- unsigned char* bytes() const;
- unsigned byteLength() const;
+ bool isNull() const;
+ void* data() const;
+ unsigned char* bytes() const;
+ unsigned byteLength() const;
-protected:
- void initWithData(void* data, unsigned byteLength);
+ protected:
+ void initWithData(void* data, unsigned byteLength);
-private:
- void initNull();
+ private:
+ void initNull();
- void* m_data;
- unsigned m_byteLength;
- bool m_isNull;
+ void* m_data;
+ unsigned m_byteLength;
+ bool m_isNull;
};
-} // namespace WTF
+} // namespace WTF
using WTF::ArrayPiece;
-#endif // ArrayPiece_h
+#endif // ArrayPiece_h
« no previous file with comments | « third_party/WebKit/Source/wtf/ArrayBufferView.cpp ('k') | third_party/WebKit/Source/wtf/ArrayPiece.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698