| Index: content/browser/storage_partition_impl_map.cc
|
| diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
|
| index 0e85d8a6238f7fab568733139fc376d4fcbf04a0..66f51b0074be69677b5fccad45d01b13dd757973 100644
|
| --- a/content/browser/storage_partition_impl_map.cc
|
| +++ b/content/browser/storage_partition_impl_map.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/files/file_util.h"
|
| #include "base/location.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| @@ -442,16 +443,14 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
|
| browser_context_->IsOffTheRecord()));
|
|
|
| URLRequestInterceptorScopedVector request_interceptors;
|
| - request_interceptors.push_back(
|
| - ServiceWorkerRequestHandler::CreateInterceptor(
|
| - browser_context_->GetResourceContext()).release());
|
| + request_interceptors.push_back(ServiceWorkerRequestHandler::CreateInterceptor(
|
| + browser_context_->GetResourceContext()));
|
| if (ForeignFetchRequestHandler::IsForeignFetchEnabled()) {
|
| request_interceptors.push_back(
|
| ForeignFetchRequestHandler::CreateInterceptor(
|
| - browser_context_->GetResourceContext())
|
| - .release());
|
| + browser_context_->GetResourceContext()));
|
| }
|
| - request_interceptors.push_back(new AppCacheInterceptor());
|
| + request_interceptors.push_back(base::MakeUnique<AppCacheInterceptor>());
|
|
|
| // These calls must happen after StoragePartitionImpl::Create().
|
| if (partition_domain.empty()) {
|
|
|