Index: third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
diff --git a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
index a791b9fdebde9663fa24ad8650e9c5df463c29a4..7ed3dae7f0539118182bc738a15e64aa7cda877c 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
+++ b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp |
@@ -75,8 +75,8 @@ Response AssertCacheStorage( |
if (!sec_origin->IsPotentiallyTrustworthy()) |
return Response::Error(sec_origin->IsPotentiallyTrustworthyErrorMessage()); |
- std::unique_ptr<WebServiceWorkerCacheStorage> cache = WTF::WrapUnique( |
- Platform::Current()->CacheStorage(WebSecurityOrigin(sec_origin))); |
+ std::unique_ptr<WebServiceWorkerCacheStorage> cache = |
+ Platform::Current()->CreateCacheStorage(WebSecurityOrigin(sec_origin)); |
if (!cache) |
return Response::Error("Could not find cache storage."); |
result = std::move(cache); |