mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update to support new clipping coordinates change
This commit is contained in:
parent
8d8fea0b4b
commit
39600f9f4e
3 changed files with 17 additions and 12 deletions
|
@ -425,8 +425,8 @@ impl WebRenderDisplayItemConverter for DisplayItem {
|
|||
None);
|
||||
|
||||
let provided_id = ScrollLayerId::new(item.scroll_root.id.0 as u64, builder.pipeline_id);
|
||||
let id = builder.define_clip(clip,
|
||||
item.scroll_root.size.to_sizef(),
|
||||
let id = builder.define_clip(item.scroll_root.content_rect.to_rectf(),
|
||||
clip,
|
||||
Some(provided_id));
|
||||
debug_assert!(provided_id == id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue