summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 19:55:35 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 19:55:35 +0000
commitd138713180c3aea617f4c612deb164dfdb305751 (patch)
tree49abe1238263e60d993878dd460b12ae138a10b6 /chrome/browser/browser.cc
parenta126d9b6b867394ebef32ed5709700806bf8bf74 (diff)
downloadchromium_src-d138713180c3aea617f4c612deb164dfdb305751.zip
chromium_src-d138713180c3aea617f4c612deb164dfdb305751.tar.gz
chromium_src-d138713180c3aea617f4c612deb164dfdb305751.tar.bz2
Revert of r21673 - which caused browser_test failure in ChromeURLAfterDownload.
TBR=brettw Review URL: http://codereview.chromium.org/160187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 3f54397..c400d48 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1563,7 +1563,7 @@ bool Browser::RunUnloadListenerBeforeClosing(TabContents* contents) {
// them. Once they have fired, we'll get a message back saying whether
// to proceed closing the page or not, which sends us back to this method
// with the HasUnloadListener bit cleared.
- contents->render_view_host()->FirePageBeforeUnload(false);
+ contents->render_view_host()->FirePageBeforeUnload();
return true;
}
return false;
@@ -2476,7 +2476,7 @@ void Browser::ProcessPendingTabs() {
// Null check render_view_host here as this gets called on a PostTask and
// the tab's render_view_host may have been nulled out.
if (tab->render_view_host()) {
- tab->render_view_host()->FirePageBeforeUnload(false);
+ tab->render_view_host()->FirePageBeforeUnload();
} else {
ClearUnloadState(tab);
}