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

Unified Diff: third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp

Issue 2617103002: Use a new Supplement constructor for Supplement<Document> (Part 1) (Closed)
Patch Set: temp Created 3 years, 11 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/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 e9deb8ae286b79d0c7ce49dc13e84e30f150b072..379631b457b0abb510e3ca7de56c60f00b942824 100644
--- a/third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp
+++ b/third_party/WebKit/Source/modules/storage/DOMWindowStorageController.cpp
@@ -12,12 +12,11 @@
namespace blink {
DOMWindowStorageController::DOMWindowStorageController(Document& document)
- : m_document(document) {
+ : Supplement<Document>(document) {
document.domWindow()->registerEventListenerObserver(this);
}
DEFINE_TRACE(DOMWindowStorageController) {
- visitor->trace(m_document);
Supplement<Document>::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698