mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Limit visibility of some types and removed unused enum variants / data (#38428)
Testing: This change mainly removes dead code, so no tests necessary. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
e78d8818a0
commit
a7b232ef4c
7 changed files with 16 additions and 24 deletions
|
@ -410,7 +410,6 @@ pub enum DebugPrintField {
|
|||
Contents,
|
||||
RealStackingContextsAndPositionedStackingContainers,
|
||||
FloatStackingContainers,
|
||||
AtomicInlineStackingContainers,
|
||||
}
|
||||
|
||||
impl StackingContext {
|
||||
|
@ -581,7 +580,7 @@ impl StackingContext {
|
|||
pub(crate) fn build_canvas_background_display_list(
|
||||
&self,
|
||||
builder: &mut DisplayListBuilder,
|
||||
fragment_tree: &crate::FragmentTree,
|
||||
fragment_tree: &crate::fragment_tree::FragmentTree,
|
||||
) {
|
||||
let Some(root_fragment) = fragment_tree.root_fragments.iter().find(|fragment| {
|
||||
fragment
|
||||
|
@ -796,9 +795,6 @@ impl StackingContext {
|
|||
DebugPrintField::FloatStackingContainers => {
|
||||
self.float_stacking_containers[*index].debug_print_with_tree(tree);
|
||||
},
|
||||
DebugPrintField::AtomicInlineStackingContainers => {
|
||||
// do nothing; we print these in DebugPrintField::Contents
|
||||
},
|
||||
}
|
||||
}
|
||||
match self.context_type {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue