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 08cc6ca936d6540c63baec1637c070235b0fcbd7..cf846c286d47e1535a57e417a45215186965c23f 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); |