diff options
author | nrqv63@motorola.com <nrqv63@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 19:20:38 +0000 |
---|---|---|
committer | nrqv63@motorola.com <nrqv63@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-21 19:20:38 +0000 |
commit | 77981db45d0e6e2367ce6e8bf341e512eb750cc2 (patch) | |
tree | 13a059ab58db0258547f132b31b7cfae7cc147fd /chrome/browser/profiles/profile_impl_io_data.cc | |
parent | 4252f6098889f2c5a8649d1688b269e53a51d42d (diff) | |
download | chromium_src-77981db45d0e6e2367ce6e8bf341e512eb750cc2.zip chromium_src-77981db45d0e6e2367ce6e8bf341e512eb750cc2.tar.gz chromium_src-77981db45d0e6e2367ce6e8bf341e512eb750cc2.tar.bz2 |
Fix for memory leak 72698_b in both normal and incognito mode.Actually it was wrong to remove the whole suppression for this fix. The same suppression can be observed in incognito mode.
BUG=72698
TEST= open google.com in
1. normal mode.
2. Incognito mode.
Review URL: http://codereview.chromium.org/8342068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_impl_io_data.cc')
-rw-r--r-- | chrome/browser/profiles/profile_impl_io_data.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc index d6ef5ec..60807ac 100644 --- a/chrome/browser/profiles/profile_impl_io_data.cc +++ b/chrome/browser/profiles/profile_impl_io_data.cc @@ -393,8 +393,9 @@ void ProfileImplIOData::LazyInitializeInternal( main_context->set_http_transaction_factory(main_cache); media_request_context_->set_http_transaction_factory(media_cache); - main_context->set_ftp_transaction_factory( + ftp_factory_.reset( new net::FtpNetworkLayer(io_thread_globals->host_resolver.get())); + main_context->set_ftp_transaction_factory(ftp_factory_.get()); main_context->set_chrome_url_data_manager_backend( chrome_url_data_manager_backend()); |