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

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

Issue 660873002: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index 2031228ac60bd1f39d1ad6a42a1320d00de87ae5..8ca07da347e280719fe350ecc20b3ec062804541 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -354,8 +354,7 @@ net::URLRequestContext* OffTheRecordProfileIOData::InitializeAppRequestContext(
scoped_ptr<net::HttpCache> app_http_cache =
CreateHttpFactory(main_network_session, app_backend);
- context->SetHttpTransactionFactory(
- app_http_cache.PassAs<net::HttpTransactionFactory>());
+ context->SetHttpTransactionFactory(app_http_cache.Pass());
scoped_ptr<net::URLRequestJobFactoryImpl> job_factory(
new net::URLRequestJobFactoryImpl());

Powered by Google App Engine
This is Rietveld 408576698