Index: third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp |
index f5ff6bd5f6ae5d23b0ef3075ae774e921827dfe9..04b0cc306db3c011d6d172be7271689e37c48680 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp |
@@ -31,7 +31,7 @@ class SharedStyleFinderTest : public ::testing::Test { |
void addSelector(const String& selector) { |
StyleRuleBase* newRule = |
- CSSParser::parseRule(CSSParserContext(HTMLStandardMode, nullptr), |
+ CSSParser::parseRule(CSSParserContext::create(HTMLStandardMode), |
nullptr, selector + "{color:pink}"); |
m_ruleSet->addStyleRule(static_cast<StyleRule*>(newRule), |
RuleHasNoSpecialState); |