Chromium Code Reviews| 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 6cadb70c6d84945e0ff4211ef3a5cbd1d7be8bd1..8d40361331c31a39ec988c94568744e1ceca0346 100644 |
| --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc |
| +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc |
| @@ -47,18 +47,6 @@ OffTheRecordProfileIOData::Handle::Handle(Profile* profile) |
| OffTheRecordProfileIOData::Handle::~Handle() { |
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| - if (main_request_context_getter_) |
| - main_request_context_getter_->CleanupOnUIThread(); |
| - if (extensions_request_context_getter_) |
| - extensions_request_context_getter_->CleanupOnUIThread(); |
| - |
| - // 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(); |
| - } |
|
mmenke
2012/10/25 18:06:33
nit: Don't think this blank line is really needed
|
| io_data_->ShutdownOnUIThread(); |
| } |