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

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

Issue 204063002: Oilpan: add transition types to Navigator and its supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust use of 'virtual' 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/geolocation/NavigatorGeolocation.cpp ('k') | Source/modules/quota/NavigatorStorageQuota.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/NavigatorStorageQuota.h
diff --git a/Source/modules/quota/NavigatorStorageQuota.h b/Source/modules/quota/NavigatorStorageQuota.h
index 8201ffcdb6ded9293cbe9460849070ead64bde60..74ca49a3c8cb22dff236f66789bd697e48ecd17c 100644
--- a/Source/modules/quota/NavigatorStorageQuota.h
+++ b/Source/modules/quota/NavigatorStorageQuota.h
@@ -42,7 +42,8 @@ class LocalFrame;
class Navigator;
class StorageQuota;
-class NavigatorStorageQuota FINAL : public Supplement<Navigator>, public DOMWindowProperty {
+class NavigatorStorageQuota FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorStorageQuota>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorStorageQuota);
public:
virtual ~NavigatorStorageQuota();
static NavigatorStorageQuota& from(Navigator&);
@@ -55,13 +56,15 @@ public:
DeprecatedStorageQuota* webkitTemporaryStorage() const;
DeprecatedStorageQuota* webkitPersistentStorage() const;
+ void trace(Visitor*);
+
private:
explicit NavigatorStorageQuota(LocalFrame*);
static const char* supplementName();
- mutable RefPtrWillBePersistent<StorageQuota> m_storageQuota;
- mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_temporaryStorage;
- mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_persistentStorage;
+ mutable RefPtrWillBeMember<StorageQuota> m_storageQuota;
+ mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage;
+ mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/geolocation/NavigatorGeolocation.cpp ('k') | Source/modules/quota/NavigatorStorageQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698