Index: chrome/browser/history/web_history_service_factory.cc |
diff --git a/chrome/browser/history/web_history_service_factory.cc b/chrome/browser/history/web_history_service_factory.cc |
index e922bc0184ecd973756084fa62fbdfca4b975a8c..00c1bf5d150897420a993bf64292dcef94a22e02 100644 |
--- a/chrome/browser/history/web_history_service_factory.cc |
+++ b/chrome/browser/history/web_history_service_factory.cc |
@@ -23,7 +23,7 @@ bool IsHistorySyncEnabled(Profile* profile) { |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
return sync && |
sync->sync_initialized() && |
- sync->GetPreferredDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES); |
+ sync->GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES); |
} |
return false; |
} |