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

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

Issue 8342068: Fix for memory leak 72698 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removing AUTHOR file to resolve the conflict. Created 9 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 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());
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.h ('k') | chrome/browser/profiles/profile_impl_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698