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