Index: third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
index 21d93fa2631b16140cdb064edc046b63fd5cfdf6..c15c5ff6f1d3e8a2737be67994b46e718ab4fe93 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp |
@@ -4,6 +4,7 @@ |
#include "core/css/parser/CSSParser.h" |
+#include <memory> |
#include "core/css/CSSColorValue.h" |
#include "core/css/CSSKeyframeRule.h" |
#include "core/css/StyleColor.h" |
@@ -17,7 +18,6 @@ |
#include "core/css/parser/CSSTokenizer.h" |
#include "core/css/parser/CSSVariableParser.h" |
#include "core/layout/LayoutTheme.h" |
-#include <memory> |
namespace blink { |
@@ -48,11 +48,11 @@ CSSSelectorList CSSParser::ParseSelector( |
} |
CSSSelectorList CSSParser::ParsePageSelector( |
- const CSSParserContext* context, |
+ const CSSParserContext& context, |
StyleSheetContents* style_sheet_contents, |
const String& selector) { |
CSSTokenizer tokenizer(selector); |
- return CSSParserImpl::ParsePageSelector(tokenizer.TokenRange(), |
+ return CSSParserImpl::ParsePageSelector(context, tokenizer.TokenRange(), |
style_sheet_contents); |
} |