aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/fragment_tree/fragment_tree.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/fragment_tree/fragment_tree.rs')
-rw-r--r--components/layout/fragment_tree/fragment_tree.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/components/layout/fragment_tree/fragment_tree.rs b/components/layout/fragment_tree/fragment_tree.rs
index 979bd0090fc..ba03a72ac21 100644
--- a/components/layout/fragment_tree/fragment_tree.rs
+++ b/components/layout/fragment_tree/fragment_tree.rs
@@ -14,7 +14,6 @@ use webrender_api::units;
use super::{BoxFragment, ContainingBlockManager, Fragment};
use crate::ArcRefCell;
use crate::context::LayoutContext;
-use crate::display_list::StackingContext;
use crate::geom::PhysicalRect;
#[derive(MallocSizeOf)]
@@ -91,16 +90,6 @@ impl FragmentTree {
fragment_tree
}
- pub(crate) fn build_display_list(
- &self,
- builder: &mut crate::display_list::DisplayListBuilder,
- root_stacking_context: &StackingContext,
- ) {
- // Paint the canvas’ background (if any) before/under everything else
- root_stacking_context.build_canvas_background_display_list(builder, self);
- root_stacking_context.build_display_list(builder);
- }
-
pub fn print(&self) {
let mut print_tree = PrintTree::new("Fragment Tree".to_string());
for fragment in &self.root_fragments {