Index: Source/modules/serviceworkers/Cache.h |
diff --git a/Source/modules/serviceworkers/Cache.h b/Source/modules/serviceworkers/Cache.h |
index d5b4957c18d0c4e5b66aa48436927e70bf538948..582d6aa6752cf73a2c4587a2450ab827b2e69a1e 100644 |
--- a/Source/modules/serviceworkers/Cache.h |
+++ b/Source/modules/serviceworkers/Cache.h |
@@ -11,7 +11,6 @@ |
#include "public/platform/WebServiceWorkerCacheError.h" |
#include "wtf/Forward.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/RefCounted.h" |
#include "wtf/Vector.h" |
#include "wtf/text/WTFString.h" |
#include <v8.h> |
@@ -24,10 +23,10 @@ class Request; |
class ScriptState; |
class WebServiceWorkerCache; |
-class Cache FINAL : public RefCountedWillBeGarbageCollected<Cache>, public ScriptWrappable { |
+class Cache FINAL : public GarbageCollected<Cache>, public ScriptWrappable { |
WTF_MAKE_NONCOPYABLE(Cache); |
public: |
- static PassRefPtrWillBeRawPtr<Cache> fromWebServiceWorkerCache(WebServiceWorkerCache*); |
+ static Cache* fromWebServiceWorkerCache(WebServiceWorkerCache*); |
// From Cache.idl: |
ScriptPromise match(ScriptState*, Request*, const Dictionary& queryParams); |