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 b4eb6f1f6f6609be923416c309ce47afc2e13b42..cd25abb1b288bc18402dbe376f3a843cc8d165fd 100644 |
--- a/chrome/browser/sync/sync_ui_util.cc |
+++ b/chrome/browser/sync/sync_ui_util.cc |
@@ -360,13 +360,9 @@ void ConstructAboutInformation(ProfileSyncService* service, |
strings->SetString("unrecoverable_error_location", location_str); |
} else if (!service->sync_initialized()) { |
strings->SetString("summary", "Sync not yet initialized"); |
- } else if (service->backend() == NULL) { |
- strings->SetString("summary", |
- "Unrecoverable error detected. Backend is null when it shouldnt be"); |
- NOTREACHED(); |
} else { |
browser_sync::ModelSafeRoutingInfo routes; |
- service->backend()->GetModelSafeRoutingInfo(&routes); |
+ service->GetModelSafeRoutingInfo(&routes); |
ListValue* routing_info = new ListValue(); |
strings->Set("routing_info", routing_info); |
browser_sync::ModelSafeRoutingInfo::const_iterator it = routes.begin(); |
@@ -379,10 +375,10 @@ void ConstructAboutInformation(ProfileSyncService* service, |
sync_ui_util::AddBoolSyncDetail(details, |
"Autofill Migrated", |
- service->backend()->GetAutofillMigrationState() == |
+ service->GetAutofillMigrationState() == |
syncable::MIGRATED); |
syncable::AutofillMigrationDebugInfo info = |
- service->backend()->GetAutofillMigrationDebugInfo(); |
+ service->GetAutofillMigrationDebugInfo(); |
sync_ui_util::AddIntSyncDetail(details, |
"Bookmarks created during migration", |