X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fmodules%2Fquota%2FStorageInfo.h;h=716a030df9268630264f394ae76586af24ab45c2;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=c6dbf85e7c16297b33c5cf012114afe1dfd22be5;hpb=d1e23c6ec4202b125fc446349b2230d4cd978d86;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/modules/quota/StorageInfo.h b/src/third_party/WebKit/Source/modules/quota/StorageInfo.h index c6dbf85..716a030 100644 --- a/src/third_party/WebKit/Source/modules/quota/StorageInfo.h +++ b/src/third_party/WebKit/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, public ScriptWrappable { +class StorageInfo FINAL : public RefCountedWillBeGarbageCollectedFinalized, public ScriptWrappable { + DECLARE_GC_INFO; public: - static PassRefPtr create(unsigned long long usage, unsigned long long quota) + static PassRefPtrWillBeRawPtr 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);