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

Unified Diff: Source/core/dom/DocumentLifecycleObserver.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/ContextLifecycleObserver.cpp ('k') | Source/core/dom/DocumentLifecycleObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentLifecycleObserver.h
diff --git a/Source/core/dom/DocumentLifecycleObserver.h b/Source/core/dom/DocumentLifecycleObserver.h
index 41f9482348ace4119a5d982ea41d39f5be967ca5..c5e5fefb70d77c1e1e28ccb5c1405b54b3c8c6d0 100644
--- a/Source/core/dom/DocumentLifecycleObserver.h
+++ b/Source/core/dom/DocumentLifecycleObserver.h
@@ -41,7 +41,10 @@ public:
#endif
protected:
- explicit DocumentLifecycleObserver(Document*);
+ explicit DocumentLifecycleObserver(Document* document)
+ : LifecycleObserver(document)
+ {
+ }
};
} // namespace blink
« no previous file with comments | « Source/core/dom/ContextLifecycleObserver.cpp ('k') | Source/core/dom/DocumentLifecycleObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698