Index: third_party/WebKit/Source/core/animation/AnimationTimeline.h |
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.h b/third_party/WebKit/Source/core/animation/AnimationTimeline.h |
index ef6cb9586643fe42cc383218ce5ebaf07b2f73ac..3836cd6d49647b02ecad6b4ad3b18d5bc52ad2d7 100644 |
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.h |
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.h |
@@ -50,6 +50,7 @@ class AnimationEffect; |
// AnimationTimeline is constructed and owned by Document, and tied to its lifecycle. |
class CORE_EXPORT AnimationTimeline : public GarbageCollectedFinalized<AnimationTimeline>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
+ USING_PRE_FINALIZER(AnimationTimeline, dispose); |
public: |
class PlatformTiming : public GarbageCollectedFinalized<PlatformTiming> { |
public: |
@@ -62,6 +63,7 @@ public: |
static AnimationTimeline* create(Document*, PlatformTiming* = nullptr); |
~AnimationTimeline(); |
+ void dispose(); |
void serviceAnimations(TimingUpdateReason); |
void scheduleNextService(); |