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

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: Move assert to not wrong location 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
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4fe552ffe8ff0568de7e23dcc601b9e18f442b3c..32ae8c1e1c958cbd2912ae3e6dbfac0fa34dfcce 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& baseValueBase() const = 0;
virtual bool isAnimating() const = 0;
virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> createAnimatedValue() = 0;
@@ -132,6 +133,11 @@ public:
return currentValue();
}
+ const SVGPropertyBase& baseValueBase() const override
+ {
+ return *m_baseValue;
+ }
+
bool isAnimating() const override
{
return m_currentValue;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStaticStringList.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698