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

Unified Diff: third_party/WebKit/Source/core/dom/SelectorQueryTest.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/SelectorQuery.cpp ('k') | third_party/WebKit/Source/core/dom/Text.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp b/third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp
index e64ebf23a6cd85fd0dd9a8344f1883c3fc65530d..28dde3abb24b405f71a1d0f48786cd1b4977ce72 100644
--- a/third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp
+++ b/third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp
@@ -22,7 +22,7 @@ TEST(SelectorQueryTest, NotMatchingPseudoElement) {
"<body><style>span::before { content: 'X' }</style><span></span></body>");
CSSSelectorList selectorList = CSSParser::parseSelector(
- CSSParserContext::create(*document, KURL(), emptyString(),
+ CSSParserContext::create(*document, KURL(), emptyString,
CSSParserContext::StaticProfile),
nullptr, "span::before");
std::unique_ptr<SelectorQuery> query =
@@ -31,7 +31,7 @@ TEST(SelectorQueryTest, NotMatchingPseudoElement) {
EXPECT_EQ(nullptr, elm);
selectorList = CSSParser::parseSelector(
- CSSParserContext::create(*document, KURL(), emptyString(),
+ CSSParserContext::create(*document, KURL(), emptyString,
CSSParserContext::StaticProfile),
nullptr, "span");
query = SelectorQuery::adopt(std::move(selectorList));
@@ -49,7 +49,7 @@ TEST(SelectorQueryTest, LastOfTypeNotFinishedParsing) {
document->body()->beginParsingChildren();
CSSSelectorList selectorList = CSSParser::parseSelector(
- CSSParserContext::create(*document, KURL(), emptyString(),
+ CSSParserContext::create(*document, KURL(), emptyString,
CSSParserContext::StaticProfile),
nullptr, "p:last-of-type");
std::unique_ptr<SelectorQuery> query =
« no previous file with comments | « third_party/WebKit/Source/core/dom/SelectorQuery.cpp ('k') | third_party/WebKit/Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698