| Index: third_party/WebKit/Source/core/svg/SVGAnimateElement.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateElement.h b/third_party/WebKit/Source/core/svg/SVGAnimateElement.h
|
| index 7c984979d1feb92e791519597e7289adefeda2c2..8f6d95ebf547cce0d06ff82381a75ae84e9b318a 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.h
|
| @@ -32,6 +32,10 @@
|
|
|
| namespace blink {
|
|
|
| +// If we have 'inherit' as animation value, we need to grab the value
|
| +// during the animation since the value can be animated itself.
|
| +enum AnimatedPropertyValueType { RegularPropertyValue, InheritValue };
|
| +
|
| class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| @@ -78,12 +82,18 @@ class CORE_EXPORT SVGAnimateElement : public SVGAnimationElement {
|
|
|
| bool hasValidAttributeType() override;
|
|
|
| + SVGPropertyBase* adjustForInheritance(SVGPropertyBase*,
|
| + AnimatedPropertyValueType) const;
|
| +
|
| Member<SVGPropertyBase> m_fromProperty;
|
| Member<SVGPropertyBase> m_toProperty;
|
| Member<SVGPropertyBase> m_toAtEndOfDurationProperty;
|
| Member<SVGPropertyBase> m_animatedProperty;
|
|
|
| SVGAnimatedTypeAnimator m_animator;
|
| +
|
| + AnimatedPropertyValueType m_fromPropertyValueType;
|
| + AnimatedPropertyValueType m_toPropertyValueType;
|
| };
|
|
|
| inline bool isSVGAnimateElement(const SVGElement& element) {
|
|
|