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

Unified Diff: third_party/WebKit/Source/core/frame/SuspendableTimer.cpp

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/SuspendableTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp b/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
index 2985f06637797ec783ac42476d5bf819107c5270..825ebd68fbd5ace783189ec6c0e186e64aaf126b 100644
--- a/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
@@ -55,6 +55,10 @@ void SuspendableTimer::stop() {
TimerBase::stop();
}
+void SuspendableTimer::contextDestroyed() {
+ stop();
+}
+
void SuspendableTimer::suspend() {
#if ENABLE(ASSERT)
ASSERT(!m_suspended);

Powered by Google App Engine
This is Rietveld 408576698