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

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

Issue 1024543004: Disallow adding ContextLifecycleObservers during iteration. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tidier LifecycleObserver ctor Created 5 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
« no previous file with comments | « Source/core/dom/DocumentLifecycleObserver.cpp ('k') | Source/core/frame/DOMWindowLifecycleObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindowLifecycleObserver.h
diff --git a/Source/core/frame/DOMWindowLifecycleObserver.h b/Source/core/frame/DOMWindowLifecycleObserver.h
index f6b38d144585355dd2cf2096580181d9eb30dc78..9473a3df52264800c44be29369f4f49f2a5302c0 100644
--- a/Source/core/frame/DOMWindowLifecycleObserver.h
+++ b/Source/core/frame/DOMWindowLifecycleObserver.h
@@ -43,7 +43,10 @@ public:
virtual void didRemoveAllEventListeners(LocalDOMWindow*) { }
protected:
- explicit DOMWindowLifecycleObserver(LocalDOMWindow*);
+ explicit DOMWindowLifecycleObserver(LocalDOMWindow* window)
+ : LifecycleObserver(window)
+ {
+ }
};
} // namespace blink
« no previous file with comments | « Source/core/dom/DocumentLifecycleObserver.cpp ('k') | Source/core/frame/DOMWindowLifecycleObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698