diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-06 02:43:21 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-06 02:43:21 +0000 |
commit | e9b8c7a8e99caa5b11daf95b10352ba9fa4ae0d3 (patch) | |
tree | 981c944b76a1922ae49092cea75a4fa4cb71d48b /ash/system/chromeos | |
parent | 3e5c6925ed2af96e5ae7ef0247b8179029b7f82b (diff) | |
download | chromium_src-e9b8c7a8e99caa5b11daf95b10352ba9fa4ae0d3.zip chromium_src-e9b8c7a8e99caa5b11daf95b10352ba9fa4ae0d3.tar.gz chromium_src-e9b8c7a8e99caa5b11daf95b10352ba9fa4ae0d3.tar.bz2 |
PowerStatusView should use long format of time remaining.
It was accidentally changed from TimeRemainingLong to TimeRemaining
as a part of crrev.com/216341.
R=tony@chromium.org, jennyz@chromium.org
TEST=None
BUG=340113
Review URL: https://codereview.chromium.org/153053002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/chromeos')
-rw-r--r-- | ash/system/chromeos/power/power_status_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/system/chromeos/power/power_status_view.cc b/ash/system/chromeos/power/power_status_view.cc index 24b7fe6..d930f68 100644 --- a/ash/system/chromeos/power/power_status_view.cc +++ b/ash/system/chromeos/power/power_status_view.cc @@ -186,7 +186,7 @@ void PowerStatusView::UpdateTextForNotificationView() { base::IntToString16(min))); } else { // This is a low battery warning prompting the user in minutes. - time_label_->SetText(ui::TimeFormat::TimeRemaining( + time_label_->SetText(ui::TimeFormat::TimeRemainingLong( base::TimeDelta::FromMinutes(hour * 60 + min))); } } else { |