summaryrefslogtreecommitdiffstats
path: root/chrome/browser/app_modal_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/app_modal_dialog.cc')
-rw-r--r--chrome/browser/app_modal_dialog.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/app_modal_dialog.cc b/chrome/browser/app_modal_dialog.cc
index 815b25f..2eea602 100644
--- a/chrome/browser/app_modal_dialog.cc
+++ b/chrome/browser/app_modal_dialog.cc
@@ -17,16 +17,7 @@ AppModalDialog::AppModalDialog(TabContents* tab_contents,
skip_this_dialog_(false) {
}
-
void AppModalDialog::ShowModalDialog() {
- // If the TabContents or ExtensionHost that created this dialog navigated
- // away or was destroyed before this dialog became visible, simply show the
- // next dialog if any.
- if (skip_this_dialog_) {
- Singleton<AppModalDialogQueue>()->ShowNextDialog();
- delete this;
- return;
- }
if (tab_contents_)
tab_contents_->Activate();