Chromium Code Reviews| 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 |