| Index: third_party/WebKit/Source/core/css/CSSPageRule.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSPageRule.cpp b/third_party/WebKit/Source/core/css/CSSPageRule.cpp
|
| index 8dec885533207b8586ec767f64bc857e517b59b8..1ceded320d8ee713522b6bb72d3c8182f8a2da94 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPageRule.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPageRule.cpp
|
| @@ -55,7 +55,8 @@ String CSSPageRule::selectorText() const {
|
| }
|
|
|
| void CSSPageRule::setSelectorText(const String& selectorText) {
|
| - CSSParserContext context(parserContext(), nullptr);
|
| + CSSParserContext* context =
|
| + CSSParserContext::create(parserContext(), nullptr);
|
| CSSSelectorList selectorList = CSSParser::parsePageSelector(
|
| context, parentStyleSheet() ? parentStyleSheet()->contents() : nullptr,
|
| selectorText);
|
|
|