diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-04-28 08:58:18 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-05-01 14:09:28 +0200 |
commit | dc192172addea61fb68e42265cea6f4cf9bcfec8 (patch) | |
tree | f003b442f6e566dca3e9f97835773c404b8dccb8 /components/layout/display_list/builder.rs | |
parent | 3e3bd9c728aa0a08b7d23dfb9ea7a28c6e4e409f (diff) | |
download | servo-dc192172addea61fb68e42265cea6f4cf9bcfec8.tar.gz servo-dc192172addea61fb68e42265cea6f4cf9bcfec8.zip |
Clean up debug options
Diffstat (limited to 'components/layout/display_list/builder.rs')
-rw-r--r-- | components/layout/display_list/builder.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/layout/display_list/builder.rs b/components/layout/display_list/builder.rs index 4b6aa8e7371..1b53ac90249 100644 --- a/components/layout/display_list/builder.rs +++ b/components/layout/display_list/builder.rs @@ -1713,7 +1713,7 @@ impl Fragment { ); }); - if opts::get().show_debug_fragment_borders { + if opts::get().debug.show_fragment_borders { self.build_debug_borders_around_fragment(state, stacking_relative_border_box, clip) } } @@ -1772,7 +1772,7 @@ impl Fragment { clip, ); - if opts::get().show_debug_fragment_borders { + if opts::get().debug.show_fragment_borders { self.build_debug_borders_around_text_fragments( state, self.style(), @@ -1793,7 +1793,7 @@ impl Fragment { clip, ); - if opts::get().show_debug_fragment_borders { + if opts::get().debug.show_fragment_borders { self.build_debug_borders_around_text_fragments( state, self.style(), @@ -1817,7 +1817,7 @@ impl Fragment { SpecificFragmentInfo::InlineAbsolute(_) | SpecificFragmentInfo::TruncatedFragment(_) | SpecificFragmentInfo::Svg(_) => { - if opts::get().show_debug_fragment_borders { + if opts::get().debug.show_fragment_borders { self.build_debug_borders_around_fragment( state, stacking_relative_border_box, @@ -2885,7 +2885,7 @@ impl BaseFlow { state: &mut DisplayListBuildState, node: OpaqueNode, ) { - if !opts::get().show_debug_parallel_layout { + if !opts::get().debug.show_parallel_layout { return; } |