util: Set the experimental_enabled flag when options are set

This commit is contained in:
Brian Anderson 2015-05-09 02:22:59 -07:00
parent f8bbc0a974
commit df9c132551
3 changed files with 4 additions and 3 deletions

View file

@ -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();