| Index: Source/modules/quota/DeprecatedStorageInfo.h
|
| diff --git a/Source/modules/quota/DeprecatedStorageInfo.h b/Source/modules/quota/DeprecatedStorageInfo.h
|
| index 472e27e57523564a92e08d4db14e6f655bdc2e49..57e6c22a1f67b6e530f1d7e301aafd3b61f49b45 100644
|
| --- a/Source/modules/quota/DeprecatedStorageInfo.h
|
| +++ b/Source/modules/quota/DeprecatedStorageInfo.h
|
| @@ -32,30 +32,28 @@
|
| #define DeprecatedStorageInfo_h
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| -#include "heap/Handle.h"
|
| -#include "modules/quota/DeprecatedStorageQuota.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| namespace WebCore {
|
|
|
| +class DeprecatedStorageQuota;
|
| class ExecutionContext;
|
| class StorageErrorCallback;
|
| class StorageQuotaCallback;
|
| class StorageUsageCallback;
|
|
|
| -class DeprecatedStorageInfo : public RefCountedWillBeGarbageCollectedFinalized<DeprecatedStorageInfo>, public ScriptWrappable {
|
| - DECLARE_GC_INFO;
|
| +class DeprecatedStorageInfo : public RefCounted<DeprecatedStorageInfo>, public ScriptWrappable {
|
| public:
|
| enum {
|
| TEMPORARY,
|
| PERSISTENT,
|
| };
|
|
|
| - static PassRefPtrWillBeRawPtr<DeprecatedStorageInfo> create()
|
| + static PassRefPtr<DeprecatedStorageInfo> create()
|
| {
|
| - return adoptRefWillBeNoop(new DeprecatedStorageInfo());
|
| + return adoptRef(new DeprecatedStorageInfo());
|
| }
|
|
|
| void queryUsageAndQuota(ExecutionContext*, int storageType, PassOwnPtr<StorageUsageCallback>, PassOwnPtr<StorageErrorCallback>);
|
| @@ -64,15 +62,13 @@
|
|
|
| ~DeprecatedStorageInfo();
|
|
|
| - void trace(Visitor*);
|
| -
|
| private:
|
| DeprecatedStorageInfo();
|
|
|
| DeprecatedStorageQuota* getStorageQuota(int storageType);
|
|
|
| - mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage;
|
| - mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage;
|
| + mutable RefPtr<DeprecatedStorageQuota> m_temporaryStorage;
|
| + mutable RefPtr<DeprecatedStorageQuota> m_persistentStorage;
|
| };
|
|
|
| } // namespace WebCore
|
|
|