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

Unified Diff: Source/core/dom/DocumentLifecycleNotifier.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/dom/DocumentLifecycleNotifier.cpp
diff --git a/Source/core/dom/DocumentLifecycleNotifier.cpp b/Source/core/dom/DocumentLifecycleNotifier.cpp
index 7a6fbde93ed8cc165888963ea39b93e2914e49a6..72cde3cdadfc4e0fddd9313df7060539f81f84ae 100644
--- a/Source/core/dom/DocumentLifecycleNotifier.cpp
+++ b/Source/core/dom/DocumentLifecycleNotifier.cpp
@@ -36,16 +36,6 @@ DocumentLifecycleNotifier::DocumentLifecycleNotifier(Document* document)
{
}
-void DocumentLifecycleNotifier::addObserver(DocumentLifecycleObserver* observer)
-{
- LifecycleNotifier<Document, DocumentLifecycleObserver>::addObserver(observer);
-}
-
-void DocumentLifecycleNotifier::removeObserver(DocumentLifecycleObserver* observer)
-{
- LifecycleNotifier<Document, DocumentLifecycleObserver>::removeObserver(observer);
-}
-
void DocumentLifecycleNotifier::notifyDocumentWasDetached()
{
TemporaryChange<IterationType> scope(m_iterating, IteratingOverAll);

Powered by Google App Engine
This is Rietveld 408576698