| 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 e6cd8508e427252b6abb3e7e59b2904cf8f96123..0c95bd6c28c0d964145c31384754beba38d7c841 100644
|
| --- a/chrome/browser/sync/sync_ui_util.cc
|
| +++ b/chrome/browser/sync/sync_ui_util.cc
|
| @@ -427,9 +427,10 @@ void ConstructAboutInformation(ProfileSyncService* service,
|
| full_status.useful_sync_cycles);
|
|
|
| const browser_sync::sessions::SyncSessionSnapshot* snapshot =
|
| - service->GetLastSessionSnapshot();
|
| + service->sync_initialized() ?
|
| + service->GetLastSessionSnapshot() : NULL;
|
|
|
| - // |snapshot| could be null if sync is not yet completed.
|
| + // |snapshot| could be NULL if sync is not yet initialized.
|
| if (snapshot) {
|
| sync_ui_util::AddIntSyncDetail(details, "Download Count (This Session)",
|
| snapshot->syncer_status.num_updates_downloaded_total);
|
|
|