Index: Source/modules/serviceworkers/CacheStorage.cpp |
diff --git a/Source/modules/serviceworkers/CacheStorage.cpp b/Source/modules/serviceworkers/CacheStorage.cpp |
index 2eadf137b3aedc8bfceefe4914e39c59556a4f35..fc06539d4427108d91985a37287115b321b61bd5 100644 |
--- a/Source/modules/serviceworkers/CacheStorage.cpp |
+++ b/Source/modules/serviceworkers/CacheStorage.cpp |
@@ -96,9 +96,9 @@ private: |
} |
-PassRefPtrWillBeRawPtr<CacheStorage> CacheStorage::create(WebServiceWorkerCacheStorage* webCacheStorage) |
+CacheStorage* CacheStorage::create(WebServiceWorkerCacheStorage* webCacheStorage) |
{ |
- return adoptRefWillBeNoop(new CacheStorage(webCacheStorage)); |
+ return new CacheStorage(webCacheStorage); |
} |
ScriptPromise CacheStorage::get(ScriptState* scriptState, const String& cacheName) |