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

Unified Diff: third_party/WebKit/Source/wtf/text/TextCodecLatin1.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/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.
« no previous file with comments | « third_party/WebKit/Source/wtf/text/CStringTest.cpp ('k') | third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698