diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/css/parser/CSSParser.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/css/parser/CSSParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/css/parser/CSSParser.cpp b/chromium/third_party/WebKit/Source/core/css/parser/CSSParser.cpp index 58d12275e2e..746cbfdde9a 100644 --- a/chromium/third_party/WebKit/Source/core/css/parser/CSSParser.cpp +++ b/chromium/third_party/WebKit/Source/core/css/parser/CSSParser.cpp @@ -43,7 +43,7 @@ void CSSParser::parseSelector(const CSSParserContext& context, const String& sel PassRefPtrWillBeRawPtr<StyleRuleBase> CSSParser::parseRule(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& rule) { if (RuntimeEnabledFeatures::newCSSParserEnabled()) - return CSSParserImpl::parseRule(rule, context, CSSParserImpl::AllowImportRules); + return CSSParserImpl::parseRule(rule, context, styleSheet, CSSParserImpl::AllowImportRules); return BisonCSSParser(context).parseRule(styleSheet, rule); } @@ -109,7 +109,7 @@ PassOwnPtr<Vector<double>> CSSParser::parseKeyframeKeyList(const String& keyList PassRefPtrWillBeRawPtr<StyleRuleKeyframe> CSSParser::parseKeyframeRule(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& rule) { if (RuntimeEnabledFeatures::newCSSParserEnabled()) { - RefPtrWillBeRawPtr<StyleRuleBase> keyframe = CSSParserImpl::parseRule(rule, context, CSSParserImpl::KeyframeRules); + RefPtrWillBeRawPtr<StyleRuleBase> keyframe = CSSParserImpl::parseRule(rule, context, nullptr, CSSParserImpl::KeyframeRules); return toStyleRuleKeyframe(keyframe.get()); } return BisonCSSParser(context).parseKeyframeRule(styleSheet, rule); |