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

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

Issue 2493003003: Introduce CSS parser mode for distinguishing static/dynamic profile (Closed)
Patch Set: Address review comments 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/SelectorQuery.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/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 7c82d08268d3d0989ffb9ffd8d13fb2bcb1ce532..a2836978e4a58ade1379a26a6fb64acc848270b4 100644
--- a/third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp
+++ b/third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp
@@ -21,7 +21,9 @@ TEST(SelectorQueryTest, NotMatchingPseudoElement) {
ASSERT_NO_EXCEPTION);
CSSSelectorList selectorList = CSSParser::parseSelector(
- CSSParserContext(*document, nullptr), nullptr, "span::before");
+ CSSParserContext(*document, nullptr, KURL(), emptyString(),
+ CSSParserContext::StaticProfile),
+ nullptr, "span::before");
std::unique_ptr<SelectorQuery> query =
SelectorQuery::adopt(std::move(selectorList));
Element* elm = query->queryFirst(*document);
« no previous file with comments | « third_party/WebKit/Source/core/dom/SelectorQuery.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698