Index: Source/modules/quota/DeprecatedStorageQuota.h |
diff --git a/Source/modules/quota/DeprecatedStorageQuota.h b/Source/modules/quota/DeprecatedStorageQuota.h |
index aad45f430f43384660cef7ab2bb8f377628f2dfb..f1959f1a5b98f8f258231080d3d296b819b0fc0f 100644 |
--- a/Source/modules/quota/DeprecatedStorageQuota.h |
+++ b/Source/modules/quota/DeprecatedStorageQuota.h |
@@ -34,8 +34,6 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "platform/heap/Handle.h" |
#include "wtf/PassOwnPtr.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
namespace WebCore { |
@@ -44,16 +42,16 @@ class StorageErrorCallback; |
class StorageQuotaCallback; |
class StorageUsageCallback; |
-class DeprecatedStorageQuota : public RefCountedWillBeGarbageCollectedFinalized<DeprecatedStorageQuota>, public ScriptWrappable { |
+class DeprecatedStorageQuota : public GarbageCollectedFinalized<DeprecatedStorageQuota>, public ScriptWrappable { |
public: |
enum Type { |
Temporary, |
Persistent, |
}; |
- static PassRefPtrWillBeRawPtr<DeprecatedStorageQuota> create(Type type) |
+ static DeprecatedStorageQuota* create(Type type) |
{ |
- return adoptRefWillBeNoop(new DeprecatedStorageQuota(type)); |
+ return new DeprecatedStorageQuota(type); |
} |
void queryUsageAndQuota(ExecutionContext*, PassOwnPtr<StorageUsageCallback>, PassOwnPtr<StorageErrorCallback>); |