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

Unified Diff: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h

Issue 2746013007: Rework SMIL animation target invalidation (Closed)
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
index 214eecc8c205535cec21fb655d965154bf30ee71..e32c4dbb0f1539fd5c3703caa46c6b501d548ee2 100644
--- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
+++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
@@ -137,11 +137,11 @@ class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests {
void setInactive() { m_activeState = Inactive; }
- // Sub-classes may need to take action when the target is changed.
- virtual void setTargetElement(SVGElement*);
+ void setTargetElement(SVGElement*);
- void schedule();
- void unscheduleIfScheduled();
+ // Sub-classes may need to take action when the target is changed.
+ virtual void willChangeAnimationTarget();
+ virtual void didChangeAnimationTarget();
QualifiedName m_attributeName;

Powered by Google App Engine
This is Rietveld 408576698