| 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 6e374e3394faa99b28b88e9475f5926490f6c4ab..7a54256a843abba13456e5d5002a01a964abb51d 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);
|
| }
|
|
|