Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index 4a9724ec16cd5771bbf2add1558c8f68eb532f35..c5c13a034229bb9c7272aefd40ba94f62f1d4738 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -1239,7 +1239,7 @@ void ResourceDispatcherHostImpl::ContinuePendingBeginRequest( |
if (request_data.originated_from_service_worker) { |
new_request->SetUserData(URLRequestServiceWorkerData::kUserDataKey, |
- new URLRequestServiceWorkerData()); |
+ base::MakeUnique<URLRequestServiceWorkerData>()); |
} |
// If the request is a MAIN_FRAME request, the first-party URL gets updated on |