| 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 e608db82f6eb06b4ebaeb87abd627f6a3660288d..2443b3d3f142f22f19c5ad01dca85d4a6d954413 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPageRule.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPageRule.cpp
|
| @@ -70,7 +70,7 @@ String CSSPageRule::selectorText() const
|
| void CSSPageRule::setSelectorText(const String& selectorText)
|
| {
|
| CSSParserContext context(parserContext(), 0);
|
| - CSSSelectorList selectorList = CSSParser::parseSelector(context, selectorText);
|
| + CSSSelectorList selectorList = CSSParser::parseSelector(context, parentStyleSheet()->contents(), selectorText);
|
| if (!selectorList.isValid())
|
| return;
|
|
|
|
|