summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/sync_ui_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/sync_ui_util.cc')
-rw-r--r--chrome/browser/sync/sync_ui_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc
index 3f45c38..3e73fbc 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -281,8 +281,8 @@ std::string MakeSyncAuthErrorText(
void ConstructAboutInformation(ProfileSyncService* service,
DictionaryValue* strings) {
- CHECK(strings != NULL);
- if (!service->HasSyncSetupCompleted()) {
+ CHECK(strings);
+ if (!service || !service->HasSyncSetupCompleted()) {
strings->SetString("summary", "SYNC DISABLED");
} else {
sync_api::SyncManager::Status full_status(