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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSVariableParser.h

Issue 2873943002: Ensure original parser context is used when parsing resolved var() references (Closed)
Patch Set: g cl set-commit 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/CSSVariableParser.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
index 807de1660d552070479ca83cb61f9928a03560ed..75a841966a16b24d90c40b82aacb8b682af85e4f 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSVariableParser.h
@@ -14,6 +14,7 @@
namespace blink {
class CSSCustomPropertyDeclaration;
+class CSSParserContext;
class CSSVariableReferenceValue;
class CORE_EXPORT CSSVariableParser {
@@ -26,6 +27,7 @@ class CORE_EXPORT CSSVariableParser {
bool is_animation_tainted);
static CSSVariableReferenceValue* ParseRegisteredPropertyValue(
CSSParserTokenRange,
+ const CSSParserContext&,
bool require_var_reference,
bool is_animation_tainted);

Powered by Google App Engine
This is Rietveld 408576698