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

Unified Diff: Source/core/svg/SVGAnimatedColor.cpp

Issue 137443006: Remove support for <animateColor>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: test adjustments Created 6 years, 11 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: Source/core/svg/SVGAnimatedColor.cpp
diff --git a/Source/core/svg/SVGAnimatedColor.cpp b/Source/core/svg/SVGAnimatedColor.cpp
index bf19881b21410a9fc3a49ac45b1738337e3751d2..0018d7bac8488c267f9b0deac52c734a2460abfc 100644
--- a/Source/core/svg/SVGAnimatedColor.cpp
+++ b/Source/core/svg/SVGAnimatedColor.cpp
@@ -82,7 +82,7 @@ void SVGAnimatedColorAnimator::calculateAnimatedValue(float percentage, unsigned
m_animationElement->adjustForInheritance<Color>(parseColorFromString, m_animationElement->fromPropertyValueType(), fromColor, m_contextElement);
m_animationElement->adjustForInheritance<Color>(parseColorFromString, m_animationElement->toPropertyValueType(), toColor, m_contextElement);
- // Apply <animateColor> rules.
+ // Apply currentColor rules.
adjustForCurrentColor(m_contextElement, fromColor);
adjustForCurrentColor(m_contextElement, toColor);
adjustForCurrentColor(m_contextElement, toAtEndOfDurationColor);

Powered by Google App Engine
This is Rietveld 408576698