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; |