From e7c79b22ebdb909d1e10dc8ca7a6e6a6fe3ed5d4 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 11 Apr 2017 15:57:57 +0200 Subject: [PATCH] Remove the show-compositor-borders debug option This was used by the old compositor of which only the ghostly echoes of old commits remain. Since it's been unused for quite some time, it is probably safe to remove it. --- components/config/opts.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/config/opts.rs b/components/config/opts.rs index 2970ce57bcd..3140e903522 100644 --- a/components/config/opts.rs +++ b/components/config/opts.rs @@ -86,10 +86,6 @@ pub struct Opts { /// browser engines. pub bubble_inline_sizes_separately: bool, - /// True if we should show borders on all layers and tiles for - /// debugging purposes (`--show-debug-borders`). - pub show_debug_borders: bool, - /// True if we should show borders on all fragments for debugging purposes /// (`--show-debug-fragment-borders`). pub show_debug_fragment_borders: bool, @@ -285,9 +281,6 @@ pub struct DebugOptions { /// Enable all heartbeats for profiling. pub profile_heartbeats: bool, - /// Paint borders along layer and tile boundaries. - pub show_compositor_borders: bool, - /// Paint borders along fragment boundaries. pub show_fragment_borders: bool, @@ -369,7 +362,6 @@ impl DebugOptions { "relayout-event" => self.relayout_event = true, "profile-script-events" => self.profile_script_events = true, "profile-heartbeats" => self.profile_heartbeats = true, - "show-compositor-borders" => self.show_compositor_borders = true, "show-fragment-borders" => self.show_fragment_borders = true, "show-parallel-paint" => self.show_parallel_paint = true, "show-parallel-layout" => self.show_parallel_layout = true, @@ -525,7 +517,6 @@ pub fn default_opts() -> Opts { headless: true, hard_fail: true, bubble_inline_sizes_separately: false, - show_debug_borders: false, show_debug_fragment_borders: false, show_debug_parallel_paint: false, show_debug_parallel_layout: false, @@ -841,7 +832,6 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult { sandbox: opt_match.opt_present("S"), random_pipeline_closure_probability: random_pipeline_closure_probability, random_pipeline_closure_seed: random_pipeline_closure_seed, - show_debug_borders: debug_options.show_compositor_borders, show_debug_fragment_borders: debug_options.show_fragment_borders, show_debug_parallel_paint: debug_options.show_parallel_paint, show_debug_parallel_layout: debug_options.show_parallel_layout,