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