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 ca50761dc18392f1790c6aa82eb2aacd7a710c2c..1d27f0c5f65093d84adf61aae74e1d5a8324b59c 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc |
@@ -210,8 +210,9 @@ void OffTheRecordProfileIOData::LazyInitializeInternal( |
main_http_factory_.reset(cache); |
main_context->set_http_transaction_factory(cache); |
- main_context->set_ftp_transaction_factory( |
+ ftp_factory_.reset( |
new net::FtpNetworkLayer(main_context->host_resolver())); |
+ main_context->set_ftp_transaction_factory(ftp_factory_.get()); |
main_context->set_chrome_url_data_manager_backend( |
chrome_url_data_manager_backend()); |