mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
util: Set the experimental_enabled flag when options are set
This commit is contained in:
parent
f8bbc0a974
commit
df9c132551
3 changed files with 4 additions and 3 deletions
|
@ -78,8 +78,6 @@ pub struct Browser {
|
|||
impl Browser {
|
||||
pub fn new<Window>(window: Option<Rc<Window>>) -> Browser
|
||||
where Window: WindowMethods + 'static {
|
||||
::util::opts::set_experimental_enabled(opts::get().enable_experimental);
|
||||
|
||||
// Global configuration options, parsed from the command line.
|
||||
let opts = opts::get();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue