Index: third_party/WebKit/Source/core/css/CSSPageRule.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSPageRule.cpp b/third_party/WebKit/Source/core/css/CSSPageRule.cpp |
index e9e3898b1bb19011f58538ca83427375132ec27e..ee6a6003e62fb0b0add9a83c68da965faa0abef9 100644 |
--- a/third_party/WebKit/Source/core/css/CSSPageRule.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSPageRule.cpp |
@@ -67,7 +67,7 @@ String CSSPageRule::selectorText() const |
void CSSPageRule::setSelectorText(const String& selectorText) |
{ |
CSSParserContext context(parserContext(), 0); |
- CSSSelectorList selectorList = CSSParser::parseSelector(context, parentStyleSheet() ? parentStyleSheet()->contents() : nullptr, selectorText); |
+ CSSSelectorList selectorList = CSSParser::parsePageSelector(context, parentStyleSheet() ? parentStyleSheet()->contents() : nullptr, selectorText); |
if (!selectorList.isValid()) |
return; |