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

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

Issue 1373773002: Fix check-webkit-style errors in Source/wtf/text/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/TextCodecUserDefined.cpp
diff --git a/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp b/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp
index 1be5396dde569e2cca66ee99c13956a3476f9955..2d51debb581c31af50180b085cca2bc18040bee0 100644
--- a/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp
+++ b/third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp
@@ -73,9 +73,9 @@ static CString encodeComplexUserDefined(const CharType* characters, size_t lengt
UChar32 c;
U16_NEXT(characters, i, length, c);
signed char signedByte = static_cast<signed char>(c);
- if ((signedByte & 0xF7FF) == c)
+ if ((signedByte & 0xF7FF) == c) {
bytes[resultLength++] = signedByte;
- else {
+ } else {
// No way to encode this character with x-user-defined.
UnencodableReplacementArray replacement;
int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement);
« no previous file with comments | « third_party/WebKit/Source/wtf/text/TextCodecUserDefined.h ('k') | third_party/WebKit/Source/wtf/text/TextEncoding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698