Index: Source/core/dom/ScriptedAnimationController.h |
diff --git a/Source/core/dom/ScriptedAnimationController.h b/Source/core/dom/ScriptedAnimationController.h |
index bf3921066ac7a87e6a22f9383f5d69f9e4bc598d..f26238b3a94c6d726a2accf13ca6a7ca79b0dc45 100644 |
--- a/Source/core/dom/ScriptedAnimationController.h |
+++ b/Source/core/dom/ScriptedAnimationController.h |
@@ -41,13 +41,14 @@ class EventTarget; |
class MediaQueryListListener; |
class RequestAnimationFrameCallback; |
-class ScriptedAnimationController : public RefCountedWillBeGarbageCollectedFinalized<ScriptedAnimationController> { |
+class ScriptedAnimationController : public RefCountedWillBeGarbageCollected<ScriptedAnimationController> { |
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ScriptedAnimationController); |
public: |
static PassRefPtrWillBeRawPtr<ScriptedAnimationController> create(Document* document) |
{ |
return adoptRefWillBeNoop(new ScriptedAnimationController(document)); |
} |
- ~ScriptedAnimationController(); |
+ |
void trace(Visitor*); |
void clearDocumentPointer() { m_document = nullptr; } |
@@ -87,6 +88,6 @@ private: |
MediaQueryListListeners m_mediaQueryListListeners; |
}; |
-} |
+} // namespace blink |
#endif // ScriptedAnimationController_h |