Index: Source/modules/serviceworkers/Cache.cpp |
diff --git a/Source/modules/serviceworkers/Cache.cpp b/Source/modules/serviceworkers/Cache.cpp |
index c8f780c4e716b643b53c42b348ab89fa38712706..d043155378b970caa6d43af8214d2b4835acdda2 100644 |
--- a/Source/modules/serviceworkers/Cache.cpp |
+++ b/Source/modules/serviceworkers/Cache.cpp |
@@ -22,9 +22,9 @@ ScriptPromise rejectAsNotImplemented(ScriptState* scriptState) |
} |
-PassRefPtrWillBeRawPtr<Cache> Cache::fromWebServiceWorkerCache(WebServiceWorkerCache* webCache) |
+Cache* Cache::fromWebServiceWorkerCache(WebServiceWorkerCache* webCache) |
{ |
- return adoptRefWillBeNoop(new Cache(webCache)); |
+ return new Cache(webCache); |
} |
// FIXME: Implement these methods. |