Index: chrome/browser/search_engines/template_url_service_test_util.cc |
diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc |
index 5eb45f4dc2ff8b0c40e94cf53325498547c99bee..2a6164175ab760d42fb44f96a61e571ea32a5017 100644 |
--- a/chrome/browser/search_engines/template_url_service_test_util.cc |
+++ b/chrome/browser/search_engines/template_url_service_test_util.cc |
@@ -271,7 +271,7 @@ void TemplateURLServiceTestUtil::SetManagedDefaultSearchPreferences( |
const std::string& suggest_url, |
const std::string& icon_url, |
const std::string& encodings) { |
- TestingPrefService* pref_service = profile_->GetTestingPrefService(); |
+ TestingPrefServiceSyncable* pref_service = profile_->GetTestingPrefService(); |
pref_service->SetManagedPref(prefs::kDefaultSearchProviderEnabled, |
Value::CreateBooleanValue(enabled)); |
pref_service->SetManagedPref(prefs::kDefaultSearchProviderName, |
@@ -292,7 +292,7 @@ void TemplateURLServiceTestUtil::SetManagedDefaultSearchPreferences( |
} |
void TemplateURLServiceTestUtil::RemoveManagedDefaultSearchPreferences() { |
- TestingPrefService* pref_service = profile_->GetTestingPrefService(); |
+ TestingPrefServiceSyncable* pref_service = profile_->GetTestingPrefService(); |
pref_service->RemoveManagedPref(prefs::kDefaultSearchProviderEnabled); |
pref_service->RemoveManagedPref(prefs::kDefaultSearchProviderName); |
pref_service->RemoveManagedPref(prefs::kDefaultSearchProviderKeyword); |