Index: chrome/browser/browsing_data/browsing_data_counter_factory.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_counter_factory.cc b/chrome/browser/browsing_data/browsing_data_counter_factory.cc |
index a2b5e95175887637f6855202f58f8a21355213ec..2b9f452a0b08cf1a7539914244f175afe3206a59 100644 |
--- a/chrome/browser/browsing_data/browsing_data_counter_factory.cc |
+++ b/chrome/browser/browsing_data/browsing_data_counter_factory.cc |
@@ -84,7 +84,8 @@ BrowsingDataCounterFactory::GetForProfileAndPref(Profile* profile, |
if (pref_name == browsing_data::prefs::kDeleteFormData) { |
return base::MakeUnique<browsing_data::AutofillCounter>( |
WebDataServiceFactory::GetAutofillWebDataForProfile( |
- profile, ServiceAccessType::EXPLICIT_ACCESS)); |
+ profile, ServiceAccessType::EXPLICIT_ACCESS), |
+ ProfileSyncServiceFactory::GetForProfile(profile)); |
} |
if (pref_name == browsing_data::prefs::kDeleteDownloadHistory) |