Index: chrome/browser/ui/webui/ntp/android/promo_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/android/promo_handler.cc b/chrome/browser/ui/webui/ntp/android/promo_handler.cc |
index d67dbc305c7be34337854160b933f9fff9e1e0f4..104d225e7b20304780cec009eb96111968c8a860 100644 |
--- a/chrome/browser/ui/webui/ntp/android/promo_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/android/promo_handler.cc |
@@ -121,10 +121,10 @@ void PromoHandler::RegisterMessages() { |
} |
// static |
-void PromoHandler::RegisterUserPrefs(PrefService* prefs) { |
+void PromoHandler::RegisterUserPrefs(PrefServiceSyncable* prefs) { |
prefs->RegisterBooleanPref(prefs::kNtpPromoDesktopSessionFound, |
false, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
void PromoHandler::Observe(int type, |