diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | chrome/browser/profiles/profile_impl_io_data.cc | 3 | ||||
-rw-r--r-- | chrome/browser/profiles/profile_impl_io_data.h | 1 | ||||
-rw-r--r-- | tools/valgrind/memcheck/suppressions.txt | 7 |
4 files changed, 8 insertions, 4 deletions
@@ -136,4 +136,3 @@ Nayan Kumar K <qtc746@motorola.com> ShankarGanesh K <blr.bmlab@gmail.com> Goutham Jagannatha <wrm364@motorola.com> Rosen Dash <rosen.dash@gmail.com> -Parag Radke <nrqv63@motorola.com> diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc index 60807ac..d6ef5ec 100644 --- a/chrome/browser/profiles/profile_impl_io_data.cc +++ b/chrome/browser/profiles/profile_impl_io_data.cc @@ -393,9 +393,8 @@ void ProfileImplIOData::LazyInitializeInternal( main_context->set_http_transaction_factory(main_cache); media_request_context_->set_http_transaction_factory(media_cache); - ftp_factory_.reset( + main_context->set_ftp_transaction_factory( 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()); diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h index 1c13eed..417fa78 100644 --- a/chrome/browser/profiles/profile_impl_io_data.h +++ b/chrome/browser/profiles/profile_impl_io_data.h @@ -139,7 +139,6 @@ class ProfileImplIOData : public ProfileIOData { mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; mutable scoped_ptr<net::HttpTransactionFactory> media_http_factory_; - mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; mutable scoped_ptr<chrome_browser_net::HttpServerPropertiesManager> diff --git a/tools/valgrind/memcheck/suppressions.txt b/tools/valgrind/memcheck/suppressions.txt index 296b102..7199196 100644 --- a/tools/valgrind/memcheck/suppressions.txt +++ b/tools/valgrind/memcheck/suppressions.txt @@ -3127,6 +3127,13 @@ fun:_ZN13ProfileIOData20InitializeOnUIThreadEP7Profile } { + bug_72698_b + Memcheck:Leak + fun:_Znw* + ... + fun:_ZNK13ProfileIOData14LazyInitializeEv +} +{ bug_73132 Memcheck:Leak fun:_Znw* |