| Index: Source/modules/quota/StorageInfo.h
|
| diff --git a/Source/modules/quota/StorageInfo.h b/Source/modules/quota/StorageInfo.h
|
| index 716a030df9268630264f394ae76586af24ab45c2..c6dbf85e7c16297b33c5cf012114afe1dfd22be5 100644
|
| --- a/Source/modules/quota/StorageInfo.h
|
| +++ b/Source/modules/quota/StorageInfo.h
|
| @@ -32,27 +32,23 @@
|
| #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 RefCountedWillBeGarbageCollectedFinalized<StorageInfo>, public ScriptWrappable {
|
| - DECLARE_GC_INFO;
|
| +class StorageInfo FINAL : public RefCounted<StorageInfo>, public ScriptWrappable {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<StorageInfo> create(unsigned long long usage, unsigned long long quota)
|
| + static PassRefPtr<StorageInfo> create(unsigned long long usage, unsigned long long quota)
|
| {
|
| - return adoptRefWillBeNoop(new StorageInfo(usage, quota));
|
| + return adoptRef(new StorageInfo(usage, quota));
|
| }
|
|
|
| unsigned long long usage() const { return m_usage; }
|
| unsigned long long quota() const { return m_quota; }
|
|
|
| ~StorageInfo();
|
| -
|
| - void trace(Visitor*) { }
|
|
|
| private:
|
| StorageInfo(unsigned long long usage, unsigned long long quota);
|
|
|