| Index: chrome/browser/chromeos/display/display_preferences.cc
|
| diff --git a/chrome/browser/chromeos/display/display_preferences.cc b/chrome/browser/chromeos/display/display_preferences.cc
|
| index 0b394782b5c021d11afd7079e52bb10d2df812cc..f474068f4e0dca4f0f359eb85147698b9d4c275f 100644
|
| --- a/chrome/browser/chromeos/display/display_preferences.cc
|
| +++ b/chrome/browser/chromeos/display/display_preferences.cc
|
| @@ -132,28 +132,22 @@ void NotifyDisplayOverscans() {
|
|
|
| } // namespace
|
|
|
| -void RegisterDisplayLocalStatePrefs(PrefService* local_state) {
|
| +void RegisterDisplayLocalStatePrefs(PrefServiceSimple* local_state) {
|
| // The default secondary display layout.
|
| local_state->RegisterIntegerPref(prefs::kSecondaryDisplayLayout,
|
| - static_cast<int>(ash::DisplayLayout::RIGHT),
|
| - PrefService::UNSYNCABLE_PREF);
|
| + static_cast<int>(ash::DisplayLayout::RIGHT));
|
| // The default offset of the secondary display position from the primary
|
| // display.
|
| - local_state->RegisterIntegerPref(prefs::kSecondaryDisplayOffset,
|
| - 0,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + local_state->RegisterIntegerPref(prefs::kSecondaryDisplayOffset, 0);
|
| // Per-display preference.
|
| - local_state->RegisterDictionaryPref(prefs::kSecondaryDisplays,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + local_state->RegisterDictionaryPref(prefs::kSecondaryDisplays);
|
|
|
| // Primary output name.
|
| local_state->RegisterInt64Pref(prefs::kPrimaryDisplayID,
|
| - gfx::Display::kInvalidDisplayID,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + gfx::Display::kInvalidDisplayID);
|
|
|
| // Display overscan preference.
|
| - local_state->RegisterDictionaryPref(prefs::kDisplayOverscans,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + local_state->RegisterDictionaryPref(prefs::kDisplayOverscans);
|
| }
|
|
|
| void SetDisplayLayoutPref(const gfx::Display& display,
|
|
|