Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6554)

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 2375383003: Remove std::unique_ptr<>::release() on ScopedVector::insert
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/dom_distiller/core/distiller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index 8bb36096c0e0c00d37ffda4b013bb66bfb96566c..1f297d7788777f56bc2a7c3cec655265ec375fd7 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -556,7 +556,7 @@ void ProfileImplIOData::InitializeInternal(
// as possible.
request_interceptors.insert(
request_interceptors.begin(),
- data_reduction_proxy_io_data()->CreateInterceptor().release());
+ data_reduction_proxy_io_data()->CreateInterceptor());
main_job_factory_ = SetUpJobFactoryDefaults(
std::move(main_job_factory), std::move(request_interceptors),
std::move(profile_params->protocol_handler_interceptor),
@@ -707,7 +707,7 @@ net::URLRequestContext* ProfileImplIOData::InitializeAppRequestContext(
// as possible.
request_interceptors.insert(
request_interceptors.begin(),
- data_reduction_proxy_io_data()->CreateInterceptor().release());
+ data_reduction_proxy_io_data()->CreateInterceptor());
std::unique_ptr<net::URLRequestJobFactory> top_job_factory(
SetUpJobFactoryDefaults(
std::move(job_factory), std::move(request_interceptors),
« no previous file with comments | « no previous file | components/dom_distiller/core/distiller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698