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

Unified Diff: Source/core/page/PageLifecycleObserver.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/frame/FrameDestructionObserver.cpp ('k') | Source/core/page/PageLifecycleObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageLifecycleObserver.h
diff --git a/Source/core/page/PageLifecycleObserver.h b/Source/core/page/PageLifecycleObserver.h
index 80d596742c03ec06cce885798496e1fbe1885169..2c529d2968d0e2e6cd1d493b9fa50f7f92d6f346 100644
--- a/Source/core/page/PageLifecycleObserver.h
+++ b/Source/core/page/PageLifecycleObserver.h
@@ -44,7 +44,11 @@ public:
Page* page() const { return lifecycleContext(); }
protected:
- explicit PageLifecycleObserver(Page*);
+ explicit PageLifecycleObserver(Page* page)
+ : LifecycleObserver(page)
+ {
+ }
+
};
} // namespace blink
« no previous file with comments | « Source/core/frame/FrameDestructionObserver.cpp ('k') | Source/core/page/PageLifecycleObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698