| Index: Source/core/css/parser/CSSParser.cpp
|
| diff --git a/Source/core/css/parser/CSSParser.cpp b/Source/core/css/parser/CSSParser.cpp
|
| index e0ec43d22b33dc96d471ace610f5cbeb7d95fb4b..46a4e60575ecc8b5d83977f681da4873ad52e867 100644
|
| --- a/Source/core/css/parser/CSSParser.cpp
|
| +++ b/Source/core/css/parser/CSSParser.cpp
|
| @@ -42,6 +42,8 @@ void CSSParser::parseSelector(const String& selector, CSSSelectorList& selectorL
|
|
|
| PassRefPtrWillBeRawPtr<StyleRuleBase> CSSParser::parseRule(const CSSParserContext& context, StyleSheetContents* styleSheet, const String& rule)
|
| {
|
| + if (RuntimeEnabledFeatures::newCSSParserEnabled())
|
| + return CSSParserImpl::parseRule(rule, context);
|
| return BisonCSSParser(context).parseRule(styleSheet, rule);
|
| }
|
|
|
|
|