Index: Source/modules/quota/WorkerNavigatorStorageQuota.h |
diff --git a/Source/modules/quota/WorkerNavigatorStorageQuota.h b/Source/modules/quota/WorkerNavigatorStorageQuota.h |
index a69c1be1d2c8570c81f123c3efa44247528fba02..f97a58c13c706e279c90473a101d7a47ff7a3777 100644 |
--- a/Source/modules/quota/WorkerNavigatorStorageQuota.h |
+++ b/Source/modules/quota/WorkerNavigatorStorageQuota.h |
@@ -39,7 +39,7 @@ |
namespace WebCore { |
-class WorkerNavigatorStorageQuota FINAL : public Supplement<WorkerNavigator> { |
+class WorkerNavigatorStorageQuota FINAL : public NoBaseWillBeGarbageCollected<WorkerNavigatorStorageQuota>, public WillBeHeapSupplement<WorkerNavigator> { |
haraken
2014/02/27 02:46:01
It's a shame that we have to add NoBaseWillBeGarba
Mads Ager (chromium)
2014/02/27 06:41:47
In my opinion that would be too magical. However,
|
public: |
virtual ~WorkerNavigatorStorageQuota(); |
static WorkerNavigatorStorageQuota& from(WorkerNavigator&); |
@@ -49,12 +49,14 @@ public: |
DeprecatedStorageQuota* webkitTemporaryStorage() const; |
DeprecatedStorageQuota* webkitPersistentStorage() const; |
+ virtual void trace(Visitor*); |
+ |
private: |
explicit WorkerNavigatorStorageQuota(); |
static const char* supplementName(); |
- mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_temporaryStorage; |
- mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_persistentStorage; |
+ mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage; |
+ mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage; |
}; |
} // namespace WebCore |