style: Remove all references to the preference 'layout.css.moz-touch-enabled.enabled'.

Differential Revision: https://phabricator.services.mozilla.com/D91401
This commit is contained in:
tobar2018 2020-09-25 10:29:08 +00:00 committed by Emilio Cobos Álvarez
parent dab46fc958
commit 4a625be8ad
2 changed files with 1 additions and 26 deletions

View file

@ -221,9 +221,6 @@ fn consume_operation_or_colon(input: &mut Parser) -> Result<Option<Operator>, ()
fn disabled_by_pref(feature: &Atom, context: &ParserContext) -> bool {
#[cfg(feature = "gecko")]
{
if *feature == atom!("-moz-touch-enabled") {
return !static_prefs::pref!("layout.css.moz-touch-enabled.enabled");
}
if *feature == atom!("forced-colors") {
return !static_prefs::pref!("layout.css.forced-colors.enabled");
}