Index: third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
diff --git a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
index 0562cff9c0cf0cd210edd06ed6751143043fac2f..565e7cc6cd148941cfda3aaf1608644733143f3f 100644 |
--- a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
+++ b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp |
@@ -625,8 +625,8 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, |
return it->value.get(); |
CSSSelectorList selectorList = CSSParser::parseSelector( |
- CSSParserContext(document, nullptr, KURL(), emptyString(), |
- CSSParserContext::StaticProfile), |
+ CSSParserContext::create(document, KURL(), emptyString(), |
+ CSSParserContext::StaticProfile), |
nullptr, selectors); |
if (!selectorList.first()) { |