Bug 1719939 - remove proton pref from static pref list and its last C++ consumer, r=mstange

Depends on D134311

Differential Revision: https://phabricator.services.mozilla.com/D134312
This commit is contained in:
Gijs Kruitbosch 2021-12-22 21:41:41 +00:00
Родитель 65e85facbc
Коммит 34d4b63832
2 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

@ -1268,13 +1268,6 @@
mirror: always
rust: true
# Enable Proton restyle. Requires restart.
- name: browser.proton.enabled
type: RelaxedAtomicBool
value: true
mirror: always
rust: true
- name: browser.proton.places-tooltip.enabled
type: RelaxedAtomicBool
value: false

Просмотреть файл

@ -26,7 +26,7 @@ already_AddRefed<NativeMenu> NativeMenuSupport::CreateNativeContextMenu(dom::Ele
}
bool NativeMenuSupport::ShouldUseNativeContextMenus() {
return StaticPrefs::widget_macos_native_context_menus() && StaticPrefs::browser_proton_enabled();
return StaticPrefs::widget_macos_native_context_menus();
}
} // namespace mozilla::widget