diff options
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r-- | components/servo/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs index e518d1aaa3d..74e286c6e5e 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -1051,11 +1051,7 @@ pub fn run_content_process(token: String) { set_logger(content.script_to_constellation_chan().clone()); - let background_hang_monitor_register = if opts::get().background_hang_monitor { - content.register_with_background_hang_monitor() - } else { - None - }; + let background_hang_monitor_register = content.register_with_background_hang_monitor(); content.start_all::<script_layout_interface::message::Msg, layout_thread::LayoutThread, |