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()); |