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

Unified Diff: third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp

Issue 2134063002: Remove DOMWindowLifecycleObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 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: third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp
diff --git a/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp b/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp
index cc50258b41815fd13a98fd5038d342124019d990..d44eab531d10cfaa686e46d3a81cb71288d24b80 100644
--- a/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp
+++ b/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp
@@ -6,17 +6,16 @@
#include "core/dom/Document.h"
#include "core/events/Event.h"
-#include "core/frame/LocalDOMWindow.h"
#include "core/page/Page.h"
namespace blink {
DeviceSingleWindowEventController::DeviceSingleWindowEventController(Document& document)
: PlatformEventController(document.page())
- , DOMWindowLifecycleObserver(document.domWindow())
, m_needsCheckingNullEvents(true)
, m_document(document)
{
+ document.domWindow()->registerEventListenerObserver(this);
}
DeviceSingleWindowEventController::~DeviceSingleWindowEventController()
@@ -73,7 +72,6 @@ DEFINE_TRACE(DeviceSingleWindowEventController)
{
visitor->trace(m_document);
PlatformEventController::trace(visitor);
- DOMWindowLifecycleObserver::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698