| Index: chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/most_visited_handler.cc b/chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| index e4409b27321aa385020a8d93a4a81da0dae674ae..ff063441bd87984b895b24e23575c1d5e4d01407 100644
|
| --- a/chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/most_visited_handler.cc
|
| @@ -20,6 +20,7 @@
|
| #include "base/values.h"
|
| #include "chrome/browser/history/page_usage_data.h"
|
| #include "chrome/browser/history/top_sites.h"
|
| +#include "chrome/browser/prefs/pref_registry_syncable.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/prefs/scoped_user_pref_update.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -256,7 +257,7 @@ std::string MostVisitedHandler::GetDictionaryKeyForUrl(const std::string& url) {
|
| }
|
|
|
| // static
|
| -void MostVisitedHandler::RegisterUserPrefs(PrefServiceSyncable* prefs) {
|
| - prefs->RegisterDictionaryPref(prefs::kNtpMostVisitedURLsBlacklist,
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| +void MostVisitedHandler::RegisterUserPrefs(PrefRegistrySyncable* registry) {
|
| + registry->RegisterDictionaryPref(prefs::kNtpMostVisitedURLsBlacklist,
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
|
|