Chromium Code Reviews| Index: Source/modules/quota/WorkerNavigatorStorageQuota.h |
| diff --git a/Source/modules/quota/WorkerNavigatorStorageQuota.h b/Source/modules/quota/WorkerNavigatorStorageQuota.h |
| index a69c1be1d2c8570c81f123c3efa44247528fba02..964b5fe597132564e28adce342d87d6b92748a10 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 WillBeHeapSupplement<WorkerNavigator> { |
|
Mads Ager (chromium)
2014/02/26 13:09:08
You need to allocate this in the heap as well.
sof
2014/02/26 14:36:25
Yes, done.
|
| 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 |