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

Unified Diff: Source/core/dom/ScriptedAnimationController.h

Issue 697893003: Oilpan: avoid invoking some no-op finalizers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove Finalized<> for StyleSheetList Created 6 years, 1 month 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
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/dom/Range.cpp ('k') | Source/core/dom/ScriptedAnimationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698