| 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 0bdf74d89832b1318b0042906c55d826ad55c3de..11635ab972cbb53cea0474f08c2bc0d352280bf8 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
|
| @@ -297,10 +297,10 @@ OffTheRecordProfileIOData::InitializeAppRequestContext(
|
| net::HttpCache::DefaultBackend::InMemory(0);
|
| net::HttpNetworkSession* main_network_session =
|
| main_http_factory_->GetSession();
|
| - net::HttpCache* app_http_cache =
|
| - new net::HttpCache(main_network_session, app_backend);
|
| + scoped_ptr<net::HttpTransactionFactory> app_http_cache(
|
| + new net::HttpCache(main_network_session, app_backend));
|
|
|
| - context->SetHttpTransactionFactory(app_http_cache);
|
| + context->SetHttpTransactionFactory(app_http_cache.Pass());
|
| return context;
|
| }
|
|
|
|
|