From ad37a54f59f4eef2c8f815a3a59ab7d928b2946f Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 14 Mar 2024 18:40:54 +0100 Subject: dependencies: Upgrade to WebRender 0.64 (#31486) This brings the version of WebRender used in Servo up-to-date with Gecko upstream. The big change here is that HiDPI is no longer handled via WebRender. Instead this happens via a scale applied to the root layer in the compositor. In addition to this change, various changes are made to Servo to adapt to the new WebRender API. Co-authored-by: Mukilan Thiyagarajan --- components/layout/sequential.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/layout/sequential.rs') diff --git a/components/layout/sequential.rs b/components/layout/sequential.rs index b641481a32a..cc6fd9e6316 100644 --- a/components/layout/sequential.rs +++ b/components/layout/sequential.rs @@ -86,6 +86,8 @@ pub fn build_display_list_for_subtree<'a>( let base = state.create_base_display_item( bounds, flow_root.as_block().fragment.node, + // The unique id is the same as the node id because this is the root fragment. + flow_root.as_block().fragment.node.id() as u64, None, DisplayListSection::BackgroundAndBorders, ); -- cgit v1.2.3