Index: Source/WebCore/svg/animation/SVGSMILElement.h |
=================================================================== |
--- Source/WebCore/svg/animation/SVGSMILElement.h (revision 109359) |
+++ Source/WebCore/svg/animation/SVGSMILElement.h (working copy) |
@@ -54,7 +54,7 @@ |
SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } |
SVGElement* targetElement(); |
- void resetTargetElement() { m_targetElement = 0; } |
+ void resetTargetElement(); |
const QualifiedName& attributeName() const { return m_attributeName; } |
void beginByLinkActivation(); |
@@ -114,6 +114,9 @@ |
void setInactive() { m_activeState = Inactive; } |
+ // Sub-classes may need to take action when the target is changed. |
+ virtual void targetElementDidChange(SVGElement*) { } |
+ |
private: |
virtual void startedActiveInterval() = 0; |
virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement* resultElement) = 0; |
@@ -230,4 +233,3 @@ |
#endif // ENABLE(SVG) |
#endif // SVGSMILElement_h |
- |