Index: chrome/browser/sync/sync_ui_util.cc |
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc |
index dbad83a6c776dfd6eaed490be34d4cf47bef14f1..04dcfc0715eb91beb8ce8fce3f21312e7faad001 100644 |
--- a/chrome/browser/sync/sync_ui_util.cc |
+++ b/chrome/browser/sync/sync_ui_util.cc |
@@ -173,14 +173,13 @@ MessageType GetStatusInfo(ProfileSyncService* service, |
l10n_util::GetStringUTF16(IDS_SYNC_PASSWORD_SYNC_ATTENTION)); |
} |
return SYNC_PROMO; |
- } else { |
- // First machine. Don't show promotion, just show everything |
- // normal. |
- if (status_label) |
- status_label->assign(GetSyncedStateStatusLabel(service)); |
- return SYNCED; |
} |
} |
+ |
lipalani1
2011/09/22 20:20:22
I dont think the comment is still valid.
|
+ // First machine, or there is no error. Don't show promotion, just show |
+ // everything normal. |
+ if (status_label) |
+ status_label->assign(GetSyncedStateStatusLabel(service)); |
return SYNCED; |
} else { |
// Either show auth error information with a link to re-login, auth in prog, |