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

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

Issue 991763002: Remove unnecessary add/removeObserver lifetime notifier indirections. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/PageLifecycleNotifier.cpp
diff --git a/Source/core/page/PageLifecycleNotifier.cpp b/Source/core/page/PageLifecycleNotifier.cpp
index 134676b30ed8f0be5b9e7ff4518e4d6673b80807..a823119321e4ab06ffdca81105f982f8b90fb6ec 100644
--- a/Source/core/page/PageLifecycleNotifier.cpp
+++ b/Source/core/page/PageLifecycleNotifier.cpp
@@ -36,16 +36,6 @@ PageLifecycleNotifier::PageLifecycleNotifier(Page* context)
{
}
-void PageLifecycleNotifier::addObserver(PageLifecycleObserver* observer)
-{
- LifecycleNotifier<Page, PageLifecycleObserver>::addObserver(observer);
-}
-
-void PageLifecycleNotifier::removeObserver(PageLifecycleObserver* observer)
-{
- LifecycleNotifier<Page, PageLifecycleObserver>::removeObserver(observer);
-}
-
void PageLifecycleNotifier::notifyPageVisibilityChanged()
{
TemporaryChange<IterationType> scope(m_iterating, IteratingOverAll);

Powered by Google App Engine
This is Rietveld 408576698