Index: Source/modules/serviceworkers/Cache.h |
diff --git a/Source/modules/serviceworkers/Cache.h b/Source/modules/serviceworkers/Cache.h |
index bacfa5cebd86cc3bc26973de06fe1fb50b2ec030..94f1ebe0475ecd76aa7c19c565ceca8eaf8c8cc9 100644 |
--- a/Source/modules/serviceworkers/Cache.h |
+++ b/Source/modules/serviceworkers/Cache.h |
@@ -9,7 +9,6 @@ |
#include "bindings/core/v8/ScriptWrappable.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> |
@@ -22,10 +21,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); |