| Index: third_party/WebKit/Source/core/css/CSSGroupingRule.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSGroupingRule.cpp b/third_party/WebKit/Source/core/css/CSSGroupingRule.cpp
|
| index f9b8541c86f9b1667b7ca08ac9d35e365040d578..258cfe3a9814889f9e03b7019bcb8d606c548621 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSGroupingRule.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSGroupingRule.cpp
|
| @@ -62,7 +62,8 @@ unsigned CSSGroupingRule::insertRule(const String& ruleString,
|
| }
|
|
|
| CSSStyleSheet* styleSheet = parentStyleSheet();
|
| - CSSParserContext context(parserContext(), UseCounter::getFrom(styleSheet));
|
| + CSSParserContext* context =
|
| + CSSParserContext::createWithStyleSheet(parserContext(), styleSheet);
|
| StyleRuleBase* newRule = CSSParser::parseRule(
|
| context, styleSheet ? styleSheet->contents() : nullptr, ruleString);
|
| if (!newRule) {
|
|
|