mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename net.mime.sniff
pref to network.mime.sniff
.
Gecko uses the `network` prefix for network related items. Might be good to mirror that here.
This commit is contained in:
parent
317629d86e
commit
07209c75db
5 changed files with 5 additions and 5 deletions
|
@ -423,7 +423,7 @@ impl FontCacheThread {
|
|||
|
||||
// derived from http://stackoverflow.com/a/10864297/3830
|
||||
fn is_supported_font_type(toplevel: &TopLevel, sublevel: &SubLevel) -> bool {
|
||||
if !prefs::get_pref("net.mime.sniff").as_boolean().unwrap_or(false) {
|
||||
if !prefs::get_pref("network.mime.sniff").as_boolean().unwrap_or(false) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue