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

Unified Diff: Source/core/page/PageLifecycleObserver.cpp

Issue 1017313002: Simplify handling of LocalFrame lifecycle notifications. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: clear context on FDO::contextDestroyed() 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
Index: Source/core/page/PageLifecycleObserver.cpp
diff --git a/Source/core/page/PageLifecycleObserver.cpp b/Source/core/page/PageLifecycleObserver.cpp
index b1e74407b844381f1cda9be7d485632bd2864eb2..9aadac09475500fd000c79269bca26bb48267548 100644
--- a/Source/core/page/PageLifecycleObserver.cpp
+++ b/Source/core/page/PageLifecycleObserver.cpp
@@ -30,18 +30,8 @@
namespace blink {
PageLifecycleObserver::PageLifecycleObserver(Page* page)
haraken 2015/03/19 23:42:00 Nit: Can we probably inline this method and remove
- : LifecycleObserver<Page, PageLifecycleObserver, PageLifecycleNotifier>(page)
{
setContext(page);
}
-PageLifecycleObserver::~PageLifecycleObserver()
-{
-}
-
-Page* PageLifecycleObserver::page() const
-{
- return static_cast<Page*>(lifecycleContext());
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698