Index: ash/system/chromeos/session/logout_confirmation_controller.cc |
diff --git a/ash/system/chromeos/session/logout_confirmation_controller.cc b/ash/system/chromeos/session/logout_confirmation_controller.cc |
index 970903d5c01ac6345ed0e17aadf4c3ebb009b973..7c724b07da5d964444e4ab052e2e09d9dfb34915 100644 |
--- a/ash/system/chromeos/session/logout_confirmation_controller.cc |
+++ b/ash/system/chromeos/session/logout_confirmation_controller.cc |
@@ -30,7 +30,7 @@ LogoutConfirmationController::~LogoutConfirmationController() { |
if (Shell::HasInstance()) |
Shell::GetInstance()->RemoveShellObserver(this); |
if (dialog_) |
- dialog_->GetWidget()->Close(); |
+ dialog_->ControllerGone(); |
} |
void LogoutConfirmationController::ConfirmLogout( |