| 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 e614db0fdc9fc8724a3f95f9dedb47bce63f5b77..bb2599bfc3bd0f009d8d3a5e8278a72d2cea89a3 100644
|
| --- a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| @@ -629,7 +629,9 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors,
|
| return it->value.get();
|
|
|
| CSSSelectorList selectorList = CSSParser::parseSelector(
|
| - CSSParserContext(document, nullptr), nullptr, selectors);
|
| + CSSParserContext(document, nullptr, KURL(), emptyString(),
|
| + CSSParserContext::StaticProfile),
|
| + nullptr, selectors);
|
|
|
| if (!selectorList.first()) {
|
| exceptionState.throwDOMException(
|
|
|