Index: chrome/browser/prefs/incognito_mode_prefs.cc |
diff --git a/chrome/browser/prefs/incognito_mode_prefs.cc b/chrome/browser/prefs/incognito_mode_prefs.cc |
index fe498ea2513cfff5aaec530ec32344b20a5ffe66..958140b2ed46cb71dd280c632f94c3f789c92658 100644 |
--- a/chrome/browser/prefs/incognito_mode_prefs.cc |
+++ b/chrome/browser/prefs/incognito_mode_prefs.cc |
@@ -52,11 +52,11 @@ void IncognitoModePrefs::SetAvailability(PrefService* prefs, |
} |
// static |
-void IncognitoModePrefs::RegisterUserPrefs(PrefService* pref_service) { |
+void IncognitoModePrefs::RegisterUserPrefs(PrefServiceSyncable* pref_service) { |
DCHECK(pref_service); |
pref_service->RegisterIntegerPref(prefs::kIncognitoModeAvailability, |
IncognitoModePrefs::ENABLED, |
- PrefService::UNSYNCABLE_PREF); |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
// static |