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 6fd44c7cda4adc898bd82a1984eeaae53df751a3..64d421632ed69fba0bb1e84671bc9f8a64752bbd 100644 |
--- a/chrome/browser/ui/webui/ntp/android/promo_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/android/promo_handler.cc |
@@ -122,10 +122,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, |