Chromium Code Reviews| Index: Source/modules/quota/NavigatorStorageQuota.h |
| diff --git a/Source/modules/quota/NavigatorStorageQuota.h b/Source/modules/quota/NavigatorStorageQuota.h |
| index 2875d33127fd0ecbc8e9d1cbeeeed3d00e349cb8..6e65f584184331be875bf86def6ea61bd7d9278a 100644 |
| --- a/Source/modules/quota/NavigatorStorageQuota.h |
| +++ b/Source/modules/quota/NavigatorStorageQuota.h |
| @@ -32,18 +32,19 @@ |
| #define NavigatorStorageQuota_h |
| #include "core/frame/DOMWindowProperty.h" |
| +#include "heap/Handle.h" |
| +#include "modules/quota/DeprecatedStorageQuota.h" |
| #include "platform/Supplementable.h" |
| namespace WebCore { |
| -class DeprecatedStorageQuota; |
| class Frame; |
| class Navigator; |
| class StorageQuota; |
| class NavigatorStorageQuota FINAL : public Supplement<Navigator>, public DOMWindowProperty { |
| public: |
| - virtual ~NavigatorStorageQuota(); |
| + virtual ~NavigatorStorageQuota() { } |
|
tkent
2014/02/10 08:27:40
Ditto.
sof
2014/02/10 09:07:19
Reverted.
|
| static NavigatorStorageQuota* from(Navigator*); |
| static StorageQuota* storageQuota(Navigator*); |
| @@ -58,9 +59,9 @@ private: |
| explicit NavigatorStorageQuota(Frame*); |
| static const char* supplementName(); |
| - mutable RefPtr<StorageQuota> m_storageQuota; |
| - mutable RefPtr<DeprecatedStorageQuota> m_temporaryStorage; |
| - mutable RefPtr<DeprecatedStorageQuota> m_persistentStorage; |
| + mutable RefPtrWillBePersistent<StorageQuota> m_storageQuota; |
| + mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_temporaryStorage; |
| + mutable RefPtrWillBePersistent<DeprecatedStorageQuota> m_persistentStorage; |
| }; |
| } // namespace WebCore |