Index: Source/modules/serviceworkers/CacheStorage.h |
diff --git a/Source/modules/serviceworkers/CacheStorage.h b/Source/modules/serviceworkers/CacheStorage.h |
index cfcbc65dadff7019772c81b809d63bd647567642..bda2788587500b97162935558419713f05c26e68 100644 |
--- a/Source/modules/serviceworkers/CacheStorage.h |
+++ b/Source/modules/serviceworkers/CacheStorage.h |
@@ -10,17 +10,16 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "wtf/Forward.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/RefCounted.h" |
namespace blink { |
class WebServiceWorkerCacheStorage; |
-class CacheStorage FINAL : public RefCountedWillBeGarbageCollected<CacheStorage>, public ScriptWrappable { |
+class CacheStorage FINAL : public GarbageCollected<CacheStorage>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
WTF_MAKE_NONCOPYABLE(CacheStorage); |
public: |
- static PassRefPtrWillBeRawPtr<CacheStorage> create(WebServiceWorkerCacheStorage*); |
+ static CacheStorage* create(WebServiceWorkerCacheStorage*); |
ScriptPromise get(ScriptState*, const String& cacheName); |
ScriptPromise has(ScriptState*, const String& cacheName); |