mirror of
https://github.com/servo/servo.git
synced 2025-09-20 11:50:09 +01:00
libservo: Remove the Opts::trace_layout
(#39332)
This is currently unused, so it can be removed. Testing: This just removes an unused field, so does not require tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
64115c6197
commit
7b755471c7
2 changed files with 0 additions and 10 deletions
|
@ -122,11 +122,6 @@ pub struct DebugOptions {
|
|||
/// Periodically print out on which events script threads spend their processing time.
|
||||
pub profile_script_events: bool,
|
||||
|
||||
/// True if each step of layout is traced to an external JSON file
|
||||
/// for debugging purposes. Setting this implies sequential layout
|
||||
/// and paint.
|
||||
pub trace_layout: bool,
|
||||
|
||||
/// Disable the style sharing cache.
|
||||
pub disable_share_style_cache: bool,
|
||||
|
||||
|
@ -165,7 +160,6 @@ impl DebugOptions {
|
|||
"relayout-event" => self.relayout_event = true,
|
||||
"signpost" => self.signpost = true,
|
||||
"dump-style-stats" => self.dump_style_statistics = true,
|
||||
"trace-layout" => self.trace_layout = true,
|
||||
"wr-stats" => self.webrender_stats = true,
|
||||
"" => {},
|
||||
_ => return Err(String::from(option)),
|
||||
|
|
|
@ -793,10 +793,6 @@ fn print_debug_options_usage(app: &str) {
|
|||
"signpost",
|
||||
"Emit native OS signposts for profile events (currently macOS only)",
|
||||
);
|
||||
print_option(
|
||||
"trace-layout",
|
||||
"Write layout trace to an external file for debugging.",
|
||||
);
|
||||
print_option("wr-stats", "Show WebRender profiler on screen.");
|
||||
|
||||
println!();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue