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..7e68ea740c9a399255f25ca6638d89688d844ffd 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), |
+ new CSSParserContext(document, KURL(), emptyString(), |
+ CSSParserContext::StaticProfile), |
nullptr, selectors); |
if (!selectorList.first()) { |