style: Use non-native menus in Windows for documents where we don't have a native theme

Untested, but it should work.

Differential Revision: https://phabricator.services.mozilla.com/D169836
This commit is contained in:
Emilio Cobos Álvarez 2023-02-14 20:35:25 +00:00 committed by Martin Robinson
parent a9998e899b
commit aa810f77ec

View file

@ -538,8 +538,8 @@ fn eval_moz_platform(_: &Context, query_value: Option<Platform>) -> bool {
unsafe { bindings::Gecko_MediaFeatures_MatchesPlatform(query_value) }
}
fn eval_moz_windows_non_native_menus(_: &Context) -> bool {
unsafe { bindings::Gecko_MediaFeatures_WindowsNonNativeMenus() }
fn eval_moz_windows_non_native_menus(context: &Context) -> bool {
unsafe { bindings::Gecko_MediaFeatures_WindowsNonNativeMenus(context.device().document()) }
}
fn eval_moz_overlay_scrollbars(context: &Context) -> bool {