Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParser.cpp

Issue 2778983006: Make /deep/ as no-op and remove ::shadow in dynamic profile (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698