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(). |