Remove sometimes-unused bounds field from base display item to prevent confusion.

This commit is contained in:
Josh Matthews 2019-06-14 00:03:31 -04:00
parent f1b10393c2
commit 089823ae20
4 changed files with 43 additions and 79 deletions

View file

@ -84,7 +84,6 @@ pub fn build_display_list_for_subtree<'a>(
// Create a base rectangle for the page background based on the root
// background color.
let base = state.create_base_display_item(
Rect::new(Point2D::new(Au::new(0), Au::new(0)), client_size),
Rect::new(Point2D::new(Au::new(0), Au::new(0)), client_size),
flow_root.as_block().fragment.node,
None,