Index: Source/modules/serviceworkers/CacheStorage.cpp |
diff --git a/Source/modules/serviceworkers/CacheStorage.cpp b/Source/modules/serviceworkers/CacheStorage.cpp |
index 080745575e725b31b980345d7f652d2b8096b435..f644f6241bfa0b174741989fea37f5f9c1c3d983 100644 |
--- a/Source/modules/serviceworkers/CacheStorage.cpp |
+++ b/Source/modules/serviceworkers/CacheStorage.cpp |
@@ -101,9 +101,9 @@ private: |
} |
-PassRefPtrWillBeRawPtr<CacheStorage> CacheStorage::create(WebServiceWorkerCacheStorage* webCacheStorage) |
+CacheStorage* CacheStorage::create(WebServiceWorkerCacheStorage* webCacheStorage) |
dominicc (has gone to gerrit)
2014/08/26 14:01:34
Now that this is a simple "new" can we remove this
haraken
2014/09/03 07:49:10
As far as I know, Blink prefers having a create me
|
{ |
- return adoptRefWillBeNoop(new CacheStorage(webCacheStorage)); |
+ return new CacheStorage(webCacheStorage); |
} |
ScriptPromise CacheStorage::get(ScriptState* scriptState, const String& cacheName) |