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

Unified Diff: Source/core/dom/ExecutionContext.h

Issue 194923007: Explicit notification and removal of lifecycle observers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Perform ThreadState detachment last Created 6 years, 9 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: Source/core/dom/ExecutionContext.h
diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h
index 9cc3926e90708aa9efb3d7c969b7632feb180960..6207d7ba8aae5f97e58178fb66c19098a094f41e 100644
--- a/Source/core/dom/ExecutionContext.h
+++ b/Source/core/dom/ExecutionContext.h
@@ -124,6 +124,8 @@ public:
virtual EventQueue* eventQueue() const = 0;
+ void removeAllLifecycleObservers();
+
protected:
ContextLifecycleNotifier& lifecycleNotifier();

Powered by Google App Engine
This is Rietveld 408576698