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

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

Issue 2323633002: Implement animation tainted custom property values (Closed)
Patch Set: Rebased Created 4 years, 2 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 1a76c08b289556cd5ee888d1f2511b7c0bdebcad..ef8967ee2c664b234e72ad58d3dfe819581eba36 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
@@ -102,7 +102,8 @@ bool CSSParser::parseValueForCustomProperty(
const AtomicString& propertyName,
const String& value,
bool important,
- StyleSheetContents* styleSheet) {
+ StyleSheetContents* styleSheet,
+ bool isAnimationTainted) {
DCHECK(CSSVariableParser::isValidVariableName(propertyName));
if (value.isEmpty())
return false;
@@ -112,8 +113,8 @@ bool CSSParser::parseValueForCustomProperty(
context = styleSheet->parserContext();
context.setMode(parserMode);
}
- return CSSParserImpl::parseVariableValue(declaration, propertyName, value,
- important, context);
+ return CSSParserImpl::parseVariableValue(
+ declaration, propertyName, value, important, context, isAnimationTainted);
}
ImmutableStylePropertySet* CSSParser::parseCustomPropertySet(
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParser.h ('k') | third_party/WebKit/Source/core/css/parser/CSSParserImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698