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

Unified Diff: Source/core/dom/DocumentLifecycleNotifier.cpp

Issue 901663005: Revert r189385 "Remove LifecycleContext" and r189391, r189530, r189456 that block it (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/DocumentLifecycleNotifier.h ('k') | Source/core/dom/DocumentLifecycleObserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentLifecycleNotifier.cpp
diff --git a/Source/core/dom/DocumentLifecycleNotifier.cpp b/Source/core/dom/DocumentLifecycleNotifier.cpp
index 39a4c2d47d9d424537556e26fefb62763bf9358c..1fdd210fed133f9f43060b407ec2d03bf9b3f9ee 100644
--- a/Source/core/dom/DocumentLifecycleNotifier.cpp
+++ b/Source/core/dom/DocumentLifecycleNotifier.cpp
@@ -27,7 +27,6 @@
#include "config.h"
#include "core/dom/DocumentLifecycleNotifier.h"
-#include "core/dom/DocumentLifecycleObserver.h"
#include "wtf/Assertions.h"
namespace blink {
@@ -57,20 +56,4 @@ void DocumentLifecycleNotifier::removeObserver(DocumentLifecycleNotifier::Observ
LifecycleNotifier<Document>::removeObserver(observer);
}
-void DocumentLifecycleNotifier::notifyDocumentWasDetached()
-{
- TemporaryChange<IterationType> scope(m_iterating, IteratingOverDocumentObservers);
- for (DocumentLifecycleObserver* observer : m_documentObservers)
- observer->documentWasDetached();
-}
-
-#if !ENABLE(OILPAN)
-void DocumentLifecycleNotifier::notifyDocumentWasDisposed()
-{
- TemporaryChange<IterationType> scope(m_iterating, IteratingOverDocumentObservers);
- for (DocumentLifecycleObserver* observer : m_documentObservers)
- observer->documentWasDisposed();
-}
-#endif
-
} // namespace blink
« no previous file with comments | « Source/core/dom/DocumentLifecycleNotifier.h ('k') | Source/core/dom/DocumentLifecycleObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698