| 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 766b7fcd5ae2eae0cb9e5eda4c25503b58dac39e..f3b3a6eaff1f27c4e3e4fc620652444647b82b5c 100644
|
| --- a/third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp
|
| +++ b/third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp
|
| @@ -244,7 +244,7 @@ CString TextCodecLatin1::encodeCommon(const CharType* characters,
|
| UnencodableHandling handling) {
|
| {
|
| char* bytes;
|
| - CString string = CString::newUninitialized(length, bytes);
|
| + CString string = CString::createUninitialized(length, bytes);
|
|
|
| // Convert the string a fast way and simultaneously do an efficient check to
|
| // see if it's all ASCII.
|
|
|