| Index: third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| index 3f176362872cb7b4868c4c486d3ab5e2b70f371b..31860a52430899cef90757bcc3b8bb4dd5408007 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSStyleRule.cpp
|
| @@ -77,7 +77,8 @@ String CSSStyleRule::selectorText() const {
|
| }
|
|
|
| void CSSStyleRule::setSelectorText(const String& selectorText) {
|
| - CSSParserContext context(parserContext(), nullptr);
|
| + const CSSParserContext* context =
|
| + CSSParserContext::create(parserContext(), nullptr);
|
| CSSSelectorList selectorList = CSSParser::parseSelector(
|
| context, parentStyleSheet() ? parentStyleSheet()->contents() : nullptr,
|
| selectorText);
|
|
|