Index: third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
index 75d7ed2f78904afd05c5187df46520e6193fc43e..edc6154f60d57c525024cfdd106f8f3390fa90cd 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
@@ -226,8 +226,8 @@ class CacheStorage::KeysCallbacks final |
CacheStorage* CacheStorage::Create( |
GlobalFetch::ScopedFetcher* fetcher, |
- WebServiceWorkerCacheStorage* web_cache_storage) { |
- return new CacheStorage(fetcher, WTF::WrapUnique(web_cache_storage)); |
+ std::unique_ptr<WebServiceWorkerCacheStorage> web_cache_storage) { |
+ return new CacheStorage(fetcher, std::move(web_cache_storage)); |
} |
ScriptPromise CacheStorage::open(ScriptState* script_state, |