diff options
author | wtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-13 18:27:23 +0000 |
---|---|---|
committer | wtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-13 18:27:23 +0000 |
commit | a211dddeb82823e7bf1baa24eb9583f95db7de4e (patch) | |
tree | 2b267e5b391dba82ac3090694e1ab31191134dec /chrome/browser/resource_dispatcher_host.cc | |
parent | 7a12df34277a5a6047b20d43284cadb7569072da (diff) | |
download | chromium_src-a211dddeb82823e7bf1baa24eb9583f95db7de4e.zip chromium_src-a211dddeb82823e7bf1baa24eb9583f95db7de4e.tar.gz chromium_src-a211dddeb82823e7bf1baa24eb9583f95db7de4e.tar.bz2 |
Remove all the CHECKs I added to debug issue 4749.
TBR=eroman
BUG=4749
Review URL: http://codereview.chromium.org/14108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resource_dispatcher_host.cc')
-rw-r--r-- | chrome/browser/resource_dispatcher_host.cc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/chrome/browser/resource_dispatcher_host.cc b/chrome/browser/resource_dispatcher_host.cc index bf58edd..1a54b6d 100644 --- a/chrome/browser/resource_dispatcher_host.cc +++ b/chrome/browser/resource_dispatcher_host.cc @@ -1429,9 +1429,7 @@ ResourceDispatcherHost::ResourceDispatcherHost(MessageLoop* io_loop) request_id_(-1), plugin_service_(PluginService::GetInstance()), method_runner_(this), - is_shutdown_(false), - removing_pending_request_(0), - request_to_remove_(NULL) { + is_shutdown_(false) { } ResourceDispatcherHost::~ResourceDispatcherHost() { @@ -1943,28 +1941,17 @@ void ResourceDispatcherHost::RemovePendingRequest(int render_process_host_id, void ResourceDispatcherHost::RemovePendingRequest( const PendingRequestList::iterator& iter) { - if (request_to_remove_) { - CHECK(iter->second != request_to_remove_); - } - // Notify the login handler that this request object is going away. ExtraRequestInfo* info = ExtraInfoForRequest(iter->second); if (info && info->login_handler) info->login_handler->OnRequestCancelled(); - CHECK(!removing_pending_request_); - removing_pending_request_ = 1; - request_to_remove_ = iter->second; - delete iter->second; pending_requests_.erase(iter); // If we have no more pending requests, then stop the load state monitor if (pending_requests_.empty()) update_load_states_timer_.Stop(); - - removing_pending_request_ = 0; - request_to_remove_ = NULL; } // URLRequest::Delegate ------------------------------------------------------- |