| Index: Source/modules/quota/StorageQuota.h
|
| diff --git a/Source/modules/quota/StorageQuota.h b/Source/modules/quota/StorageQuota.h
|
| index e1850a24ac2d1a78a9212e50fe541033c52f4938..41d150ea0ab3f2067ed89b0057063e9b120fac14 100644
|
| --- a/Source/modules/quota/StorageQuota.h
|
| +++ b/Source/modules/quota/StorageQuota.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "bindings/v8/ScriptPromise.h"
|
| #include "bindings/v8/ScriptWrappable.h"
|
| +#include "heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -41,11 +42,12 @@ namespace WebCore {
|
|
|
| class ExecutionContext;
|
|
|
| -class StorageQuota FINAL : public RefCounted<StorageQuota>, public ScriptWrappable {
|
| +class StorageQuota FINAL : public RefCountedWillBeGarbageCollectedFinalized<StorageQuota>, public ScriptWrappable {
|
| + DECLARE_GC_INFO;
|
| public:
|
| - static PassRefPtr<StorageQuota> create()
|
| + static PassRefPtrWillBeRawPtr<StorageQuota> create()
|
| {
|
| - return adoptRef(new StorageQuota());
|
| + return adoptRefWillBeNoop(new StorageQuota());
|
| }
|
|
|
| Vector<String> supportedTypes() const;
|
| @@ -53,7 +55,9 @@ public:
|
| ScriptPromise queryInfo(ExecutionContext*, String type);
|
| ScriptPromise requestPersistentQuota(ExecutionContext*, unsigned long long newQuota);
|
|
|
| - ~StorageQuota();
|
| + ~StorageQuota() { }
|
| +
|
| + void trace(Visitor*) { }
|
|
|
| private:
|
| StorageQuota();
|
|
|