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

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

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
« no previous file with comments | « third_party/WebKit/Source/wtf/text/WTFString.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
diff --git a/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp b/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
index 0f6c640f02457f66192b1c8794904c821b380d0e..b8adf4972f082cf86e7aa7bd79a883fda47dd305 100644
--- a/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
+++ b/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
@@ -445,14 +445,14 @@ TEST(StringTest, Ensure16Bit) {
EXPECT_FALSE(string16.is8Bit());
EXPECT_EQ("16bit", string16);
- String empty8(StringImpl::empty());
+ String empty8(StringImpl::empty);
EXPECT_TRUE(empty8.is8Bit());
empty8.ensure16Bit();
EXPECT_FALSE(empty8.is8Bit());
EXPECT_TRUE(empty8.isEmpty());
EXPECT_FALSE(empty8.isNull());
- String empty16(StringImpl::empty16Bit());
+ String empty16(StringImpl::empty16Bit);
EXPECT_FALSE(empty16.is8Bit());
empty16.ensure16Bit();
EXPECT_FALSE(empty16.is8Bit());
« no previous file with comments | « third_party/WebKit/Source/wtf/text/WTFString.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698