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

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

Issue 1101263003: Oilpan: have Navigator and its supplements be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 8 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 d9c480a292466a285beb8ccae78ebb1780083705..951d46be1e263decde24cc508244decae9701f30 100644
--- a/Source/modules/quota/NavigatorStorageQuota.h
+++ b/Source/modules/quota/NavigatorStorageQuota.h
@@ -42,11 +42,11 @@ class LocalFrame;
class Navigator;
class StorageQuota;
-class NavigatorStorageQuota final : public NoBaseWillBeGarbageCollected<NavigatorStorageQuota>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorStorageQuota);
- DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NavigatorStorageQuota);
+class NavigatorStorageQuota final : public GarbageCollectedFinalized<NavigatorStorageQuota>, public HeapSupplement<Navigator>, public DOMWindowProperty {
+ USING_GARBAGE_COLLECTED_MIXIN(NavigatorStorageQuota);
public:
static NavigatorStorageQuota& from(Navigator&);
+ virtual ~NavigatorStorageQuota();
static StorageQuota* storageQuota(Navigator&);
static DeprecatedStorageQuota* webkitTemporaryStorage(Navigator&);
@@ -62,9 +62,9 @@ private:
explicit NavigatorStorageQuota(LocalFrame*);
static const char* supplementName();
- mutable PersistentWillBeMember<StorageQuota> m_storageQuota;
- mutable PersistentWillBeMember<DeprecatedStorageQuota> m_temporaryStorage;
- mutable PersistentWillBeMember<DeprecatedStorageQuota> m_persistentStorage;
+ mutable Member<StorageQuota> m_storageQuota;
+ mutable Member<DeprecatedStorageQuota> m_temporaryStorage;
+ mutable Member<DeprecatedStorageQuota> m_persistentStorage;
};
} // namespace blink
« no previous file with comments | « Source/modules/presentation/NavigatorPresentation.cpp ('k') | Source/modules/quota/NavigatorStorageQuota.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698