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

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

Issue 2473093003: Fix up naming in CString. (Closed)
Patch Set: Created 4 years, 1 month 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 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.
« no previous file with comments | « third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp ('k') | third_party/WebKit/Source/wtf/text/WTFString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698