summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 17:30:47 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 17:30:47 +0000
commitcc09ca130fca5aa724d0f5538f6dd681272e8527 (patch)
tree7f8a83a546e332f22c36543f6df6ce3d9a9ab6c3 /chrome/browser
parente6ffb374e6927061103a87053cb24f812119f1e6 (diff)
downloadchromium_src-cc09ca130fca5aa724d0f5538f6dd681272e8527.zip
chromium_src-cc09ca130fca5aa724d0f5538f6dd681272e8527.tar.gz
chromium_src-cc09ca130fca5aa724d0f5538f6dd681272e8527.tar.bz2
Remove an invalid DCHECK. If we are closing the browser and
the beforeunload handler hangs, then is_waiting_for_unload_ack will be true here. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@719 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/render_view_host.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/render_view_host.cc b/chrome/browser/render_view_host.cc
index ec016a2..d8ade00 100644
--- a/chrome/browser/render_view_host.cc
+++ b/chrome/browser/render_view_host.cc
@@ -275,7 +275,6 @@ void RenderViewHost::ClosePageIgnoringUnloadEvents(int render_process_host_id,
return;
rvh->StopHangMonitorTimeout();
- DCHECK(rvh->is_waiting_for_unload_ack_);
rvh->is_waiting_for_unload_ack_ = false;
rvh->UnloadListenerHasFired();