Index: ash/system/logout_button/logout_confirmation_dialog_view.cc |
diff --git a/ash/system/logout_button/logout_confirmation_dialog_view.cc b/ash/system/logout_button/logout_confirmation_dialog_view.cc |
index 3e65dbf073a8ca2f02b0c01972a7afbb79aadcde..85be3653f3d653c671ad36fca58188c7c4616058 100644 |
--- a/ash/system/logout_button/logout_confirmation_dialog_view.cc |
+++ b/ash/system/logout_button/logout_confirmation_dialog_view.cc |
@@ -123,8 +123,9 @@ void LogoutConfirmationDialogView::UpdateCountdown() { |
if (seconds_remaining > 0) { |
text_label_->SetText(l10n_util::GetStringFUTF16( |
IDS_ASH_LOGOUT_CONFIRMATION_WARNING, |
- ui::TimeFormat::TimeDurationLong(base::TimeDelta::FromSeconds( |
- seconds_remaining)))); |
+ ui::TimeFormat::Simple( |
+ ui::TimeFormat::FORMAT_DURATION, ui::TimeFormat::LENGTH_LONG, |
+ base::TimeDelta::FromSeconds(seconds_remaining)))); |
} else { |
text_label_->SetText(l10n_util::GetStringUTF16( |
IDS_ASH_LOGOUT_CONFIRMATION_WARNING_NOW)); |