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

Unified Diff: third_party/WebKit/Source/core/animation/StringKeyframe.cpp

Issue 2607403002: Disallow setting invalid values for registered properties via CSSOM (Closed)
Patch Set: fix comments Created 3 years, 12 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/animation/StringKeyframe.cpp
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
index d4c8d723ac9e8c420d61b429999b100d1e901a11..420eafc6c8c31204ab99caa264cff832fad6bdf0 100644
--- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
+++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
@@ -24,10 +24,11 @@ StringKeyframe::StringKeyframe(const StringKeyframe& copyFrom)
MutableStylePropertySet::SetResult StringKeyframe::setCSSPropertyValue(
const AtomicString& propertyName,
+ const PropertyRegistry* registry,
const String& value,
StyleSheetContents* styleSheetContents) {
bool isAnimationTainted = true;
- return m_cssPropertyMap->setProperty(propertyName, value, false,
+ return m_cssPropertyMap->setProperty(propertyName, registry, value, false,
styleSheetContents, isAnimationTainted);
}

Powered by Google App Engine
This is Rietveld 408576698