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

Unified Diff: third_party/WebKit/Source/platform/text/LineEnding.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/platform/text/LineEnding.cpp
diff --git a/third_party/WebKit/Source/platform/text/LineEnding.cpp b/third_party/WebKit/Source/platform/text/LineEnding.cpp
index eeaf3782a2868680126c496ef8534b0c7f7cbdb2..329cd4fb77b12ced463bc163e5eaa2030661281f 100644
--- a/third_party/WebKit/Source/platform/text/LineEnding.cpp
+++ b/third_party/WebKit/Source/platform/text/LineEnding.cpp
@@ -56,7 +56,7 @@ class CStringBuffer final : public OutputBuffer {
char* allocate(size_t size) override {
char* ptr;
- m_buffer = CString::newUninitialized(size, ptr);
+ m_buffer = CString::createUninitialized(size, ptr);
return ptr;
}
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebCString.cpp ('k') | third_party/WebKit/Source/wtf/text/CString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698