Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: ash/system/chromeos/session/logout_confirmation_dialog.cc

Issue 1686433002: Remove DialogDelegate::OnClosed() which is redundant with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/chromeos/session/logout_confirmation_dialog.cc
diff --git a/ash/system/chromeos/session/logout_confirmation_dialog.cc b/ash/system/chromeos/session/logout_confirmation_dialog.cc
index 80a71e84248a1dfda9e6b56a231dcaef55168f49..89c73b02476477bb35b58aed301c7faf8d1f3c32 100644
--- a/ash/system/chromeos/session/logout_confirmation_dialog.cc
+++ b/ash/system/chromeos/session/logout_confirmation_dialog.cc
@@ -84,15 +84,11 @@ base::string16 LogoutConfirmationDialog::GetDialogButtonLabel(
return views::DialogDelegateView::GetDialogButtonLabel(button);
}
-void LogoutConfirmationDialog::OnClosed() {
+void LogoutConfirmationDialog::WindowClosing() {
update_timer_.Stop();
controller_->OnDialogClosed();
}
-void LogoutConfirmationDialog::DeleteDelegate() {
- delete this;
-}
-
void LogoutConfirmationDialog::UpdateLabel() {
const base::TimeDelta time_remaining =
logout_time_ - controller_->clock()->NowTicks();

Powered by Google App Engine
This is Rietveld 408576698