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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimer.h

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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/frame/DOMTimer.h
diff --git a/third_party/WebKit/Source/core/frame/DOMTimer.h b/third_party/WebKit/Source/core/frame/DOMTimer.h
index 947cdbb213724bdf85640f93023baf21f18e626d..2f246738d970042d1bce88a3e6cc913d294aab72 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimer.h
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.h
@@ -53,7 +53,7 @@ class CORE_EXPORT DOMTimer final : public GarbageCollectedFinalized<DOMTimer>,
~DOMTimer() override;
// ActiveDOMObject
- void stop() override;
+ void contextDestroyed() override;
// Eager finalization is needed to promptly stop this Timer object.
// Otherwise timer events might fire at an object that's slated for destruction
@@ -62,7 +62,7 @@ class CORE_EXPORT DOMTimer final : public GarbageCollectedFinalized<DOMTimer>,
EAGERLY_FINALIZE();
DECLARE_VIRTUAL_TRACE();
- void disposeTimer();
+ void stop() override;
private:
friend class DOMTimerCoordinator; // For create().

Powered by Google App Engine
This is Rietveld 408576698