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

Unified Diff: third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp

Issue 2373983006: reflow comments in wtf/text (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp
diff --git a/third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp b/third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp
index 0e95baddac429533ed62c9b889eef8fd6579e6bb..766b7fcd5ae2eae0cb9e5eda4c25503b58dac39e 100644
--- a/third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp
+++ b/third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp
@@ -99,7 +99,8 @@ static std::unique_ptr<TextCodec> newStreamingTextDecoderWindowsLatin1(
void TextCodecLatin1::registerCodecs(TextCodecRegistrar registrar) {
registrar("windows-1252", newStreamingTextDecoderWindowsLatin1, 0);
- // ASCII and Latin-1 both decode as Windows Latin-1 although they retain unique identities.
+ // ASCII and Latin-1 both decode as Windows Latin-1 although they retain
+ // unique identities.
registrar("ISO-8859-1", newStreamingTextDecoderWindowsLatin1, 0);
registrar("US-ASCII", newStreamingTextDecoderWindowsLatin1, 0);
}
@@ -245,7 +246,8 @@ CString TextCodecLatin1::encodeCommon(const CharType* characters,
char* bytes;
CString string = CString::newUninitialized(length, bytes);
- // Convert the string a fast way and simultaneously do an efficient check to see if it's all ASCII.
+ // Convert the string a fast way and simultaneously do an efficient check to
+ // see if it's all ASCII.
UChar ored = 0;
for (size_t i = 0; i < length; ++i) {
UChar c = characters[i];

Powered by Google App Engine
This is Rietveld 408576698