mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move mozbrowser_enabled to util::prefs
This commit is contained in:
parent
34858fd0c9
commit
34dfc28e98
6 changed files with 18 additions and 18 deletions
|
@ -243,3 +243,7 @@ pub fn reset_all_prefs() {
|
|||
reset_pref(name);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn mozbrowser_enabled() -> bool {
|
||||
get_pref("dom.mozbrowser.enabled").as_boolean().unwrap_or(false)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue