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

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

Issue 766183004: Dispose of DOMTimer upon explicit ExecutionContext unregistration. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/ExecutionContext.cpp ('k') | Source/core/frame/DOMTimer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMTimer.h
diff --git a/Source/core/frame/DOMTimer.h b/Source/core/frame/DOMTimer.h
index d29526e5359146a4e9847ceb1278c50340f58e1b..dd63f350aa4fd748d8abb2c9b83e9a4b4e673de8 100644
--- a/Source/core/frame/DOMTimer.h
+++ b/Source/core/frame/DOMTimer.h
@@ -58,6 +58,8 @@ public:
void trace(Visitor*) { }
+ void dispose();
+
private:
friend class ExecutionContext; // For create().
« no previous file with comments | « Source/core/dom/ExecutionContext.cpp ('k') | Source/core/frame/DOMTimer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698