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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationTimeline.h

Issue 2188623006: Add pre finalizer to Animation to ensure compositor handles get cleaned up (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove AnimationTimeline pre-finalizer Created 4 years, 5 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/animation/AnimationTimeline.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.h b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
index 58ca7a36765ff3be28363548dafd17cbfbfe882b..1236bf75b103c3f65c4c14fdfeaa91df25d37fcc 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTimeline.h
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.h
@@ -51,7 +51,6 @@ class AnimationEffect;
// AnimationTimeline is constructed and owned by Document, and tied to its lifecycle.
class CORE_EXPORT AnimationTimeline final : public GarbageCollectedFinalized<AnimationTimeline>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
- USING_PRE_FINALIZER(AnimationTimeline, dispose);
public:
class PlatformTiming : public GarbageCollectedFinalized<PlatformTiming> {
public:
@@ -64,7 +63,6 @@ public:
static AnimationTimeline* create(Document*, PlatformTiming* = nullptr);
~AnimationTimeline();
- void dispose();
void serviceAnimations(TimingUpdateReason);
void scheduleNextService();

Powered by Google App Engine
This is Rietveld 408576698