Skip to content

Commit

Permalink
style: Remove layout.css.prefixes.device-pixel-ratio-webkit.
Browse files Browse the repository at this point in the history
There's no effort to disable it any time soon, so I don't think it's useful to
keep the pref around.

Differential Revision: https://phabricator.services.mozilla.com/D49507
  • Loading branch information
emilio committed Nov 4, 2019
1 parent b98ac61 commit 70dda74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions components/style/media_queries/media_feature_expression.rs
Expand Up @@ -243,9 +243,6 @@ fn consume_operation_or_colon(input: &mut Parser) -> Result<Option<Operator>, ()
}

fn disabled_by_pref(feature: &Atom) -> bool {
if *feature == atom!("device-pixel-ratio") {
return !static_prefs::pref!("layout.css.prefixes.device-pixel-ratio-webkit");
}
if *feature == atom!("-moz-touch-enabled") {
return !static_prefs::pref!("layout.css.moz-touch-enabled.enabled")
}
Expand Down

0 comments on commit 70dda74

Please sign in to comment.