Index: chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc |
diff --git a/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc b/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc |
index fe617ff101806703abec7c3214746b3f4b1d3e5e..8a08e2e34ae5301ad13bc4e8a90ec1c1da3a49fd 100644 |
--- a/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc |
+++ b/chrome/browser/ui/views/passwords/account_chooser_dialog_view.cc |
@@ -99,11 +99,6 @@ |
return false; |
} |
-void AccountChooserDialogView::WindowClosing() { |
- if (controller_) |
- controller_->OnCloseDialog(); |
-} |
- |
int AccountChooserDialogView::GetDialogButtons() const { |
return ui::DIALOG_BUTTON_CANCEL; |
} |
@@ -111,6 +106,11 @@ |
base::string16 AccountChooserDialogView::GetDialogButtonLabel( |
ui::DialogButton button) const { |
return l10n_util::GetStringUTF16(IDS_APP_CANCEL); |
+} |
+ |
+void AccountChooserDialogView::OnClosed() { |
+ if (controller_) |
+ controller_->OnCloseDialog(); |
} |
gfx::Size AccountChooserDialogView::GetPreferredSize() const { |