Update to handle WebRender API changes

Items now only take a clipping rectangle instead of a LocalClip.
This commit is contained in:
Martin Robinson 2018-03-14 11:31:19 +01:00 committed by Glenn Watson
parent 7e74a10274
commit 41cc348fc5
4 changed files with 36 additions and 35 deletions

View file

@ -63,7 +63,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
};
webrender_api::LayoutPrimitiveInfo {
rect: self.base().bounds,
local_clip: self.base().local_clip,
clip_rect: self.base().clip_rect,
// TODO(gw): Make use of the WR backface visibility functionality.
is_backface_visible: true,
tag,