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

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

Issue 18777003: Extract simpler classes for observing context lifecycle and observe Page lifecycle inNavigatorVibra… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use SimpleLifecycleObserver in addObserver / removeObserver. Created 7 years, 5 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/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 22c3ffb5c9ebb5af0b4a6986b81d6b3ef0dbcc82..49682a1cc5ad11f4e57cf622ab8051612f69bf2f 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -5240,7 +5240,7 @@ void Document::didAssociateFormControlsTimerFired(Timer<Document>* timer)
m_associatedFormControls.clear();
}
-PassOwnPtr<ContextLifecycleNotifier> Document::createLifecycleNotifier()
+PassOwnPtr<SimpleLifecycleNotifier> Document::createLifecycleNotifier()
{
return DocumentLifecycleNotifier::create(this);
}

Powered by Google App Engine
This is Rietveld 408576698