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

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: 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
Index: Source/modules/quota/NavigatorStorageQuota.h
diff --git a/Source/modules/quota/NavigatorStorageQuota.h b/Source/modules/quota/NavigatorStorageQuota.h
index 8201ffcdb6ded9293cbe9460849070ead64bde60..cf089861f6d048463839eb8048fbb95434a00afe 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;
+ virtual void trace(Visitor*);
haraken 2014/03/19 04:02:36 Drop virtual.
+
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

Powered by Google App Engine
This is Rietveld 408576698