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

Unified Diff: Source/core/frame/LocalDOMWindow.cpp

Issue 1205573002: Oilpan: promptly finalize remaining SuspendableTimers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/core/events/DOMWindowEventQueue.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalDOMWindow.cpp
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
index b271edc3a340e1d738516297adb8e26c0d2eb9a6..ad0f3130079066b8b157b2637166064bcbd3e7af 100644
--- a/Source/core/frame/LocalDOMWindow.cpp
+++ b/Source/core/frame/LocalDOMWindow.cpp
@@ -137,6 +137,9 @@ public:
}
}
+ // Eager finalization is needed to promptly stop this timer object.
+ // (see DOMTimer comment for more.)
+ EAGERLY_FINALIZE();
DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_event);
« no previous file with comments | « Source/core/events/DOMWindowEventQueue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698