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

Unified Diff: ash/system/date/tray_date.cc

Issue 10214013: Created uber tray UI for monitoring ongoing WebDrive sync operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/date/tray_date.cc
diff --git a/ash/system/date/tray_date.cc b/ash/system/date/tray_date.cc
index fb8d82954cf26eb239c0ef60f0fec25f251a0ebe..17d1f7029a2bcf53fc0e1bb1bfb84dd4e72942ca 100644
--- a/ash/system/date/tray_date.cc
+++ b/ash/system/date/tray_date.cc
@@ -77,6 +77,9 @@ void TrayDate::UpdateAfterLoginStatusChange(user::LoginStatus status) {
}
void TrayDate::OnDateFormatChanged() {
+ if (!date_tray_.get())
+ return;
+
date_tray_->UpdateTimeFormat();
}

Powered by Google App Engine
This is Rietveld 408576698