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 af6a715f38ad5c93ba27db9d37e7af98b07377a9..1e3c3fcbdd0173eb49a6d007d849535420f0d062 100644 |
--- a/chrome/browser/history/web_history_service_factory.cc |
+++ b/chrome/browser/history/web_history_service_factory.cc |
@@ -21,7 +21,7 @@ bool IsHistorySyncEnabled(Profile* profile) { |
ProfileSyncService* sync = |
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile); |
return sync && |
- sync->SyncActive() && |
+ sync->IsSyncActive() && |
sync->GetActiveDataTypes().Has(syncer::HISTORY_DELETE_DIRECTIVES); |
} |