summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorlaforge@chromium.org <laforge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-25 23:02:49 +0000
committerlaforge@chromium.org <laforge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-25 23:02:49 +0000
commitcb48eafcefa0031b3203cecb6dba35b0a1a62ee4 (patch)
tree035c2cc76931308dc78722142254ffe66e379e61 /content
parentbb8446d687de0593e5b4668a245cd7b7c70297ef (diff)
downloadchromium_src-cb48eafcefa0031b3203cecb6dba35b0a1a62ee4.zip
chromium_src-cb48eafcefa0031b3203cecb6dba35b0a1a62ee4.tar.gz
chromium_src-cb48eafcefa0031b3203cecb6dba35b0a1a62ee4.tar.bz2
Revert 253267
Caused a compile failure: http://master.chrome.corp.google.com:8011/builders/mac%20stable/builds/901 > Merge 253006 "Clear any open dialogs when the renderer process g..." > > > Clear any open dialogs when the renderer process goes away. > > > > BUG=343625 > > TEST=See bug for repro steps. > > R=darin@chromium.org > > > > Review URL: https://codereview.chromium.org/177123002 > > TBR=creis@chromium.org > > Review URL: https://codereview.chromium.org/180433002 TBR=creis@chromium.org Review URL: https://codereview.chromium.org/180123005 git-svn-id: svn://svn.chromium.org/chrome/branches/1750/src@253283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/web_contents/web_contents_impl.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 6b6cf00..c5765d5 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2895,10 +2895,6 @@ void WebContentsImpl::RenderViewTerminated(RenderViewHost* rvh,
return;
}
- // Cancel any visible dialogs so they are not left dangling over the sad tab.
- if (dialog_manager_)
- dialog_manager_->CancelActiveAndPendingDialogs(this);
-
ClearPowerSaveBlockers(rvh);
SetIsLoading(rvh, false, NULL);
NotifyDisconnected();