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

Unified Diff: Source/modules/quota/DOMWindowQuota.h

Issue 212933005: Oilpan: turn DOMWindow into a heap supplementable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make use of DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED() Created 6 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
« no previous file with comments | « Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp ('k') | Source/modules/quota/DOMWindowQuota.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/DOMWindowQuota.h
diff --git a/Source/modules/quota/DOMWindowQuota.h b/Source/modules/quota/DOMWindowQuota.h
index 373d213e8643e34c682b06f287ac1081d90e7777..e8b38021db918f3e8f5d0afc7248549464d7d532 100644
--- a/Source/modules/quota/DOMWindowQuota.h
+++ b/Source/modules/quota/DOMWindowQuota.h
@@ -40,18 +40,21 @@ namespace WebCore {
class DeprecatedStorageInfo;
class DOMWindow;
-class DOMWindowQuota FINAL : public Supplement<DOMWindow>, public DOMWindowProperty {
+class DOMWindowQuota FINAL : public NoBaseWillBeGarbageCollectedFinalized<DOMWindowQuota>, public WillBeHeapSupplement<DOMWindow>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowQuota);
public:
virtual ~DOMWindowQuota();
static DOMWindowQuota& from(DOMWindow&);
static DeprecatedStorageInfo* webkitStorageInfo(DOMWindow&);
DeprecatedStorageInfo* webkitStorageInfo() const;
+ void trace(Visitor*);
+
private:
explicit DOMWindowQuota(DOMWindow&);
static const char* supplementName();
- mutable RefPtrWillBePersistent<DeprecatedStorageInfo> m_storageInfo;
+ mutable RefPtrWillBeMember<DeprecatedStorageInfo> m_storageInfo;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp ('k') | Source/modules/quota/DOMWindowQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698