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

Unified Diff: third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h

Issue 1414413002: SVG Web Animations: Add SVGInterpolationType pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_svgAttributeReference
Patch Set: Change InterpolationEnvironment Created 5 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/svg/properties/SVGAnimatedProperty.h
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h
index 00326e27106821512503e97f0f5969f89ad559f2..e6db19249b58c245a131141baf485dc56ae900fc 100644
--- a/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h
+++ b/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h
@@ -53,6 +53,7 @@ public:
virtual ~SVGAnimatedPropertyBase();
virtual SVGPropertyBase* currentValueBase() = 0;
+ virtual const SVGPropertyBase* currentValueBase() const = 0;
virtual bool isAnimating() const = 0;
virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> createAnimatedValue() = 0;
@@ -132,6 +133,11 @@ public:
return currentValue();
}
+ const SVGPropertyBase* currentValueBase() const override
+ {
+ return currentValue();
+ }
+
bool isAnimating() const override
{
return m_currentValue;

Powered by Google App Engine
This is Rietveld 408576698