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

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

Issue 2592823003: Replace the remaining DOMWindowProperty with ContextClient (Closed)
Patch Set: Created 4 years 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/Storage.cpp
diff --git a/third_party/WebKit/Source/modules/storage/Storage.cpp b/third_party/WebKit/Source/modules/storage/Storage.cpp
index 4c13799b4d90e23edad0dc10bc8576e791e00483..7b79121d3aa2b19d2404ecc33bf13a835198d140 100644
--- a/third_party/WebKit/Source/modules/storage/Storage.cpp
+++ b/third_party/WebKit/Source/modules/storage/Storage.cpp
@@ -36,7 +36,7 @@ Storage* Storage::create(LocalFrame* frame, StorageArea* storageArea) {
}
Storage::Storage(LocalFrame* frame, StorageArea* storageArea)
- : DOMWindowProperty(frame), m_storageArea(storageArea) {
+ : ContextClient(frame), m_storageArea(storageArea) {
DCHECK(frame);
DCHECK(m_storageArea);
}
@@ -102,7 +102,7 @@ bool Storage::namedPropertyQuery(const AtomicString& name,
DEFINE_TRACE(Storage) {
visitor->trace(m_storageArea);
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/storage/Storage.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698