diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-25 01:15:11 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-25 01:15:11 +0000 |
commit | 829e761119a8b9380d072aac47cdf5b81a5db2b5 (patch) | |
tree | 2ff55d2d651691a58efecd0681f6798e75108321 /chrome/browser/browser.cc | |
parent | cdddc17b8e74ddeac3621a4016c8dcbb453b8365 (diff) | |
download | chromium_src-829e761119a8b9380d072aac47cdf5b81a5db2b5.zip chromium_src-829e761119a8b9380d072aac47cdf5b81a5db2b5.tar.gz chromium_src-829e761119a8b9380d072aac47cdf5b81a5db2b5.tar.bz2 |
Fix sudden termination after the latest WebKit merge.
BUG=10927
Review URL: http://codereview.chromium.org/93104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r-- | chrome/browser/browser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 2c7a637..2b81a0bb 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -159,7 +159,7 @@ bool TabHasUnloadListener(TabContents* contents) { WebContents* web_contents = contents->AsWebContents(); return web_contents && web_contents->notify_disconnection() && !web_contents->showing_interstitial_page() && - web_contents->render_view_host()->HasUnloadListener(); + !web_contents->render_view_host()->SuddenTerminationAllowed(); } } // namespace |