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

Unified Diff: third_party/WebKit/Source/core/css/StylePropertySet.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/StylePropertySet.cpp
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.cpp b/third_party/WebKit/Source/core/css/StylePropertySet.cpp
index f6c760f9197d1e17abffa57751b90b65a51c83c0..a5f721c7be7cf59ee3fd14048ba96c57cfe06e00 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.cpp
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.cpp
@@ -317,11 +317,13 @@ bool MutableStylePropertySet::setProperty(
const AtomicString& customPropertyName,
const String& value,
bool important,
- StyleSheetContents* contextStyleSheet) {
+ StyleSheetContents* contextStyleSheet,
+ bool isAnimationTainted) {
if (value.isEmpty())
return removeProperty(customPropertyName);
return CSSParser::parseValueForCustomProperty(this, customPropertyName, value,
- important, contextStyleSheet);
+ important, contextStyleSheet,
+ isAnimationTainted);
}
void MutableStylePropertySet::setProperty(CSSPropertyID propertyID,
« no previous file with comments | « third_party/WebKit/Source/core/css/StylePropertySet.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698