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 ece5d71c3024273e0b232e16ac3e4a60e40b4e8c..07113eda8558a048209bfe1c09157acbcd555473 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.cpp |
@@ -226,8 +226,8 @@ |
CacheStorage* CacheStorage::Create( |
GlobalFetch::ScopedFetcher* fetcher, |
- std::unique_ptr<WebServiceWorkerCacheStorage> web_cache_storage) { |
- return new CacheStorage(fetcher, std::move(web_cache_storage)); |
+ WebServiceWorkerCacheStorage* web_cache_storage) { |
+ return new CacheStorage(fetcher, WTF::WrapUnique(web_cache_storage)); |
} |
ScriptPromise CacheStorage::open(ScriptState* script_state, |