| Index: chrome/browser/profiles/profile_impl_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
|
| index 2a539271da80b2aaa6c6cd669838b6505a1eb27e..65e882264b6906b76e56a4628849eaef083b4e12 100644
|
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
|
| @@ -51,13 +51,6 @@ ProfileImplIOData::Handle::Handle(Profile* profile)
|
|
|
| ProfileImplIOData::Handle::~Handle() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| - if (main_request_context_getter_)
|
| - main_request_context_getter_->CleanupOnUIThread();
|
| - if (media_request_context_getter_)
|
| - media_request_context_getter_->CleanupOnUIThread();
|
| - if (extensions_request_context_getter_)
|
| - extensions_request_context_getter_->CleanupOnUIThread();
|
| -
|
| if (io_data_->predictor_.get() != NULL) {
|
| // io_data_->predictor_ might be NULL if Init() was never called
|
| // (i.e. we shut down before ProfileImpl::DoFinalInit() got called).
|
| @@ -65,22 +58,6 @@ ProfileImplIOData::Handle::~Handle() {
|
| io_data_->predictor_->ShutdownOnUIThread(user_prefs);
|
| }
|
|
|
| - // Clean up all isolated app request contexts.
|
| - for (ChromeURLRequestContextGetterMap::iterator iter =
|
| - app_request_context_getter_map_.begin();
|
| - iter != app_request_context_getter_map_.end();
|
| - ++iter) {
|
| - iter->second->CleanupOnUIThread();
|
| - }
|
| -
|
| - // Clean up all isolated media request contexts.
|
| - for (ChromeURLRequestContextGetterMap::iterator iter =
|
| - isolated_media_request_context_getter_map_.begin();
|
| - iter != isolated_media_request_context_getter_map_.end();
|
| - ++iter) {
|
| - iter->second->CleanupOnUIThread();
|
| - }
|
| -
|
| if (io_data_->http_server_properties_manager())
|
| io_data_->http_server_properties_manager()->ShutdownOnUIThread();
|
| io_data_->ShutdownOnUIThread();
|
|
|