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

Unified Diff: third_party/WebKit/Source/wtf/text/TextCodecUTF16.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
Index: third_party/WebKit/Source/wtf/text/TextCodecUTF16.h
diff --git a/third_party/WebKit/Source/wtf/text/TextCodecUTF16.h b/third_party/WebKit/Source/wtf/text/TextCodecUTF16.h
index 8570d01f7ab92b0817f26668b7f67d6ed5c9b333..d132767b1a2cc87bbd778ba47c408bf40bde1979 100644
--- a/third_party/WebKit/Source/wtf/text/TextCodecUTF16.h
+++ b/third_party/WebKit/Source/wtf/text/TextCodecUTF16.h
@@ -31,22 +31,23 @@
namespace WTF {
class TextCodecUTF16 final : public TextCodec {
-public:
- static void registerEncodingNames(EncodingNameRegistrar);
- static void registerCodecs(TextCodecRegistrar);
+ public:
+ static void registerEncodingNames(EncodingNameRegistrar);
+ static void registerCodecs(TextCodecRegistrar);
- TextCodecUTF16(bool littleEndian) : m_littleEndian(littleEndian), m_haveBufferedByte(false) {}
+ TextCodecUTF16(bool littleEndian)
+ : m_littleEndian(littleEndian), m_haveBufferedByte(false) {}
- String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
- CString encode(const UChar*, size_t length, UnencodableHandling) override;
- CString encode(const LChar*, size_t length, UnencodableHandling) override;
+ String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
+ CString encode(const UChar*, size_t length, UnencodableHandling) override;
+ CString encode(const LChar*, size_t length, UnencodableHandling) override;
-private:
- bool m_littleEndian;
- bool m_haveBufferedByte;
- unsigned char m_bufferedByte;
+ private:
+ bool m_littleEndian;
+ bool m_haveBufferedByte;
+ unsigned char m_bufferedByte;
};
-} // namespace WTF
+} // namespace WTF
-#endif // TextCodecUTF16_h
+#endif // TextCodecUTF16_h
« no previous file with comments | « third_party/WebKit/Source/wtf/text/TextCodecReplacementTest.cpp ('k') | third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698