Index: Source/modules/quota/DeprecatedStorageInfo.h |
diff --git a/Source/modules/quota/DeprecatedStorageInfo.h b/Source/modules/quota/DeprecatedStorageInfo.h |
index 39af1bf4ac53abb91d694bccf21ab9cb80149837..74c67e2bab106565d9d3c339a1cd24ce668a8d70 100644 |
--- a/Source/modules/quota/DeprecatedStorageInfo.h |
+++ b/Source/modules/quota/DeprecatedStorageInfo.h |
@@ -35,9 +35,6 @@ |
#include "modules/quota/DeprecatedStorageQuota.h" |
#include "platform/heap/Handle.h" |
#include "wtf/PassOwnPtr.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
-#include "wtf/RefPtr.h" |
namespace WebCore { |
@@ -46,16 +43,16 @@ class StorageErrorCallback; |
class StorageQuotaCallback; |
class StorageUsageCallback; |
-class DeprecatedStorageInfo : public RefCountedWillBeGarbageCollectedFinalized<DeprecatedStorageInfo>, public ScriptWrappable { |
+class DeprecatedStorageInfo : public GarbageCollectedFinalized<DeprecatedStorageInfo>, public ScriptWrappable { |
public: |
enum { |
TEMPORARY, |
PERSISTENT, |
}; |
- static PassRefPtrWillBeRawPtr<DeprecatedStorageInfo> create() |
+ static DeprecatedStorageInfo* create() |
{ |
- return adoptRefWillBeNoop(new DeprecatedStorageInfo()); |
+ return new DeprecatedStorageInfo(); |
} |
void queryUsageAndQuota(ExecutionContext*, int storageType, PassOwnPtr<StorageUsageCallback>, PassOwnPtr<StorageErrorCallback>); |
@@ -71,8 +68,8 @@ private: |
DeprecatedStorageQuota* getStorageQuota(int storageType); |
- mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage; |
- mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage; |
+ mutable Member<DeprecatedStorageQuota> m_temporaryStorage; |
+ mutable Member<DeprecatedStorageQuota> m_persistentStorage; |
}; |
} // namespace WebCore |