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

Unified Diff: Source/core/frame/DOMWindowLifecycleNotifier.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/frame/DOMWindowLifecycleNotifier.cpp
diff --git a/Source/core/frame/DOMWindowLifecycleNotifier.cpp b/Source/core/frame/DOMWindowLifecycleNotifier.cpp
index 9ea2188f952b06b1e68d27c5381a16c404d1a14d..6352be27b770d5c2274e0aeb3056fc615bd1d9d3 100644
--- a/Source/core/frame/DOMWindowLifecycleNotifier.cpp
+++ b/Source/core/frame/DOMWindowLifecycleNotifier.cpp
@@ -36,16 +36,6 @@ DOMWindowLifecycleNotifier::DOMWindowLifecycleNotifier(LocalDOMWindow* context)
{
}
-void DOMWindowLifecycleNotifier::addObserver(DOMWindowLifecycleObserver* observer)
-{
- LifecycleNotifier<LocalDOMWindow, DOMWindowLifecycleObserver>::addObserver(observer);
-}
-
-void DOMWindowLifecycleNotifier::removeObserver(DOMWindowLifecycleObserver* observer)
-{
- LifecycleNotifier<LocalDOMWindow, DOMWindowLifecycleObserver>::removeObserver(observer);
-}
-
void DOMWindowLifecycleNotifier::notifyAddEventListener(LocalDOMWindow* window, const AtomicString& eventType)
{
TemporaryChange<IterationType> scope(m_iterating, IteratingOverAll);

Powered by Google App Engine
This is Rietveld 408576698