aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/fragment_tree/fragment_tree.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-03-14 18:40:54 +0100
committerGitHub <noreply@github.com>2024-03-14 17:40:54 +0000
commitad37a54f59f4eef2c8f815a3a59ab7d928b2946f (patch)
treee78d14062c6f8d807411ee535d0e426b9798f6aa /components/layout_2020/fragment_tree/fragment_tree.rs
parent4597aeae5f9b1d76d6af664afdbb72647908e907 (diff)
downloadservo-ad37a54f59f4eef2c8f815a3a59ab7d928b2946f.tar.gz
servo-ad37a54f59f4eef2c8f815a3a59ab7d928b2946f.zip
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 <mukilan@igalia.com>
Diffstat (limited to 'components/layout_2020/fragment_tree/fragment_tree.rs')
-rw-r--r--components/layout_2020/fragment_tree/fragment_tree.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout_2020/fragment_tree/fragment_tree.rs b/components/layout_2020/fragment_tree/fragment_tree.rs
index 21e4911fe63..2957d3e2c36 100644
--- a/components/layout_2020/fragment_tree/fragment_tree.rs
+++ b/components/layout_2020/fragment_tree/fragment_tree.rs
@@ -6,11 +6,12 @@ use app_units::Au;
use euclid::default::{Point2D, Rect, Size2D};
use fxhash::FxHashSet;
use gfx_traits::print_tree::PrintTree;
+use script_traits::compositor::ScrollSensitivity;
use serde::Serialize;
use style::animation::AnimationSetKey;
use style::dom::OpaqueNode;
use style::values::computed::Length;
-use webrender_api::{units, ScrollSensitivity};
+use webrender_api::units;
use super::{ContainingBlockManager, Fragment, Tag};
use crate::cell::ArcRefCell;