Index: Source/modules/serviceworkers/CacheStorage.h |
diff --git a/Source/modules/serviceworkers/CacheStorage.h b/Source/modules/serviceworkers/CacheStorage.h |
index 2c13a5b0a4a837ddefbdf37ff171152dbd8309af..6450d207e995c99f707e429bda8dfd2999787a3f 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; |
// See https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-storage |
-class CacheStorage FINAL : public RefCountedWillBeGarbageCollected<CacheStorage>, public ScriptWrappable { |
+class CacheStorage FINAL : public GarbageCollected<CacheStorage>, public ScriptWrappable { |
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); |