| 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);
|
|
|