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

Unified Diff: third_party/WebKit/Source/modules/storage/DOMWindowStorageController.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
« no previous file with comments | « third_party/WebKit/Source/modules/storage/DOMWindowStorageController.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp
diff --git a/third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp b/third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp
index d4aa8d2581e067aa3ef6c6972b780def5cfeab06..234c1b413a2e66aff80ea6f8b178892517f05952 100644
--- a/third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp
+++ b/third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp
@@ -6,23 +6,21 @@
#include "core/dom/Document.h"
#include "core/events/Event.h"
-#include "core/frame/LocalDOMWindow.h"
#include "core/page/Page.h"
#include "modules/storage/DOMWindowStorage.h"
namespace blink {
DOMWindowStorageController::DOMWindowStorageController(Document& document)
- : DOMWindowLifecycleObserver(document.domWindow())
- , m_document(document)
+ : m_document(document)
{
+ document.domWindow()->registerEventListenerObserver(this);
}
DEFINE_TRACE(DOMWindowStorageController)
{
visitor->trace(m_document);
Supplement<Document>::trace(visitor);
- DOMWindowLifecycleObserver::trace(visitor);
}
// static
« no previous file with comments | « third_party/WebKit/Source/modules/storage/DOMWindowStorageController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698