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

Unified Diff: third_party/WebKit/Source/wtf/text/StringMac.mm

Issue 2655853003: Replace StringImpl::empty{16Bit}() with a static member (Closed)
Patch Set: annotate race Created 3 years, 11 months 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/StringMac.mm
diff --git a/third_party/WebKit/Source/wtf/text/StringMac.mm b/third_party/WebKit/Source/wtf/text/StringMac.mm
index 1311cab344b6cee93470c1ceac363a7e0094d526..cb410b253221a418d3af964986c7df513090871e 100644
--- a/third_party/WebKit/Source/wtf/text/StringMac.mm
+++ b/third_party/WebKit/Source/wtf/text/StringMac.mm
@@ -30,7 +30,7 @@ String::String(NSString* str) {
CFIndex size = CFStringGetLength(reinterpret_cast<CFStringRef>(str));
if (size == 0)
- m_impl = StringImpl::empty();
+ m_impl = StringImpl::empty;
else {
Vector<LChar, 1024> lcharBuffer(size);
CFIndex usedBufLen;
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImpl.cpp ('k') | third_party/WebKit/Source/wtf/text/StringStatics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698