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

@ -161,7 +161,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
DisplayItem::Iframe(ref mut item) => {
let common = build_common_item_properties(&item.base, state);
builder.push_iframe(
item.base.bounds,
item.bounds,
common.clip_rect,
&SpaceAndClipInfo {
spatial_id: common.spatial_id,