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

Unified Diff: third_party/WebKit/Source/core/dom/AttrTest.cpp

Issue 2668903003: Replace WTF::emptyString{16Bit}() with a static global (Closed)
Patch Set: Replace WTF::emptyString{16Bit}() with a static global 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/core/dom/AttrTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/AttrTest.cpp b/third_party/WebKit/Source/core/dom/AttrTest.cpp
index c86b5232e0b8ac96f391d8b4c2711f14bac1837b..03b115a6082a34ff59ef21b67446dab7ceb5c723 100644
--- a/third_party/WebKit/Source/core/dom/AttrTest.cpp
+++ b/third_party/WebKit/Source/core/dom/AttrTest.cpp
@@ -34,8 +34,8 @@ Attr* AttrTest::createAttribute() {
TEST_F(AttrTest, InitialValueState) {
Attr* attr = createAttribute();
EXPECT_EQ(emptyAtom, attr->value());
- EXPECT_EQ(emptyString(), attr->toNode()->nodeValue());
- EXPECT_EQ(emptyString(), attr->textContent());
+ EXPECT_EQ(emptyString, attr->toNode()->nodeValue());
+ EXPECT_EQ(emptyString, attr->textContent());
}
TEST_F(AttrTest, SetValue) {
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | third_party/WebKit/Source/core/dom/CharacterData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698