Index: Source/modules/quota/StorageInfo.h |
diff --git a/Source/modules/quota/StorageInfo.h b/Source/modules/quota/StorageInfo.h |
index c6dbf85e7c16297b33c5cf012114afe1dfd22be5..716a030df9268630264f394ae76586af24ab45c2 100644 |
--- a/Source/modules/quota/StorageInfo.h |
+++ b/Source/modules/quota/StorageInfo.h |
@@ -32,17 +32,19 @@ |
#define StorageInfo_h |
#include "bindings/v8/ScriptWrappable.h" |
+#include "heap/Handle.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
#include "wtf/RefPtr.h" |
namespace WebCore { |
-class StorageInfo FINAL : public RefCounted<StorageInfo>, public ScriptWrappable { |
+class StorageInfo FINAL : public RefCountedWillBeGarbageCollectedFinalized<StorageInfo>, public ScriptWrappable { |
+ DECLARE_GC_INFO; |
public: |
- static PassRefPtr<StorageInfo> create(unsigned long long usage, unsigned long long quota) |
+ static PassRefPtrWillBeRawPtr<StorageInfo> create(unsigned long long usage, unsigned long long quota) |
{ |
- return adoptRef(new StorageInfo(usage, quota)); |
+ return adoptRefWillBeNoop(new StorageInfo(usage, quota)); |
} |
unsigned long long usage() const { return m_usage; } |
@@ -50,6 +52,8 @@ public: |
~StorageInfo(); |
+ void trace(Visitor*) { } |
+ |
private: |
StorageInfo(unsigned long long usage, unsigned long long quota); |