| 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 a8c7576e7cdbe12a64df19e8cb4137cfea5b436f..491660ce42756269e7ee9eb4630669f89f858713 100644
|
| --- a/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/SelectorQuery.cpp
|
| @@ -590,7 +590,8 @@ SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors,
|
| return it->value.get();
|
|
|
| CSSSelectorList selectorList = CSSParser::parseSelector(
|
| - CSSParserContext::create(document, KURL(), emptyString,
|
| + CSSParserContext::create(document, document.baseURL(),
|
| + document.getReferrerPolicy(), emptyString,
|
| CSSParserContext::StaticProfile),
|
| nullptr, selectors);
|
|
|
|
|