mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update to handle WebRender API changes
Items now only take a clipping rectangle instead of a LocalClip.
This commit is contained in:
parent
7e74a10274
commit
41cc348fc5
4 changed files with 36 additions and 35 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue