Index: Source/modules/quota/StorageQuota.h |
diff --git a/Source/modules/quota/StorageQuota.h b/Source/modules/quota/StorageQuota.h |
index e1850a24ac2d1a78a9212e50fe541033c52f4938..b3d3bed09dddbe196f94707c191007747d2bcc09 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; |
@@ -55,6 +57,8 @@ public: |
~StorageQuota(); |
+ void trace(Visitor*) { } |
+ |
private: |
StorageQuota(); |
}; |