| Index: Source/modules/quota/DeprecatedStorageQuota.h
|
| diff --git a/Source/modules/quota/DeprecatedStorageQuota.h b/Source/modules/quota/DeprecatedStorageQuota.h
|
| index f48a863b14987602c4337b66e6d48bb7ee141d41..793644c3096ce7dcfb5382da6b00df7035d8df2e 100644
|
| --- a/Source/modules/quota/DeprecatedStorageQuota.h
|
| +++ b/Source/modules/quota/DeprecatedStorageQuota.h
|
| @@ -32,8 +32,6 @@
|
| #define DeprecatedStorageQuota_h
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| -#include "heap/Handle.h"
|
| -#include "heap/ThreadState.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
|
|
| @@ -44,17 +42,16 @@
|
| class StorageQuotaCallback;
|
| class StorageUsageCallback;
|
|
|
| -class DeprecatedStorageQuota : public RefCountedWillBeGarbageCollectedFinalized<DeprecatedStorageQuota>, public ScriptWrappable {
|
| - DECLARE_GC_INFO;
|
| +class DeprecatedStorageQuota : public RefCounted<DeprecatedStorageQuota>, public ScriptWrappable {
|
| public:
|
| enum Type {
|
| Temporary,
|
| Persistent,
|
| };
|
|
|
| - static PassRefPtrWillBeRawPtr<DeprecatedStorageQuota> create(Type type)
|
| + static PassRefPtr<DeprecatedStorageQuota> create(Type type)
|
| {
|
| - return adoptRefWillBeNoop(new DeprecatedStorageQuota(type));
|
| + return adoptRef(new DeprecatedStorageQuota(type));
|
| }
|
|
|
| void queryUsageAndQuota(ExecutionContext*, PassOwnPtr<StorageUsageCallback>, PassOwnPtr<StorageErrorCallback>);
|
| @@ -63,15 +60,11 @@
|
|
|
| ~DeprecatedStorageQuota();
|
|
|
| - void trace(Visitor*) { }
|
| -
|
| private:
|
| explicit DeprecatedStorageQuota(Type);
|
| Type m_type;
|
| };
|
|
|
| -USED_FROM_MULTIPLE_THREADS(DeprecatedStorageQuota);
|
| -
|
| } // namespace WebCore
|
|
|
| #endif // DeprecatedStorageQuota_h
|
|
|