| Index: Source/core/css/CSSGroupingRule.cpp
|
| diff --git a/Source/core/css/CSSGroupingRule.cpp b/Source/core/css/CSSGroupingRule.cpp
|
| index 1a9154a62428ac58660b93a27eaf2eb116209d3e..24f7147f6407a066f6618ece6732a452f8215773 100644
|
| --- a/Source/core/css/CSSGroupingRule.cpp
|
| +++ b/Source/core/css/CSSGroupingRule.cpp
|
| @@ -35,7 +35,6 @@
|
| #include "core/css/CSSRuleList.h"
|
| #include "core/css/CSSStyleSheet.h"
|
| #include "core/css/parser/CSSParser.h"
|
| -#include "core/dom/Document.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/frame/UseCounter.h"
|
| #include "wtf/text/StringBuilder.h"
|
| @@ -70,8 +69,7 @@
|
| }
|
|
|
| CSSStyleSheet* styleSheet = parentStyleSheet();
|
| - Document* doc = styleSheet ? styleSheet->ownerDocument() : 0;
|
| - CSSParserContext context(parserContext(), doc ? doc->frame() : 0, UseCounter::getFrom(styleSheet));
|
| + CSSParserContext context(parserContext(), UseCounter::getFrom(styleSheet));
|
| RefPtrWillBeRawPtr<StyleRuleBase> newRule = CSSParser::parseRule(context, styleSheet ? styleSheet->contents() : nullptr, ruleString);
|
| // FIXME: @namespace rules have special handling in the CSSOM spec, but it
|
| // mostly doesn't make sense since we don't support CSSNamespaceRule
|
|
|