diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-04-18 17:28:30 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2025-04-22 16:37:11 +0200 |
commit | 011f9117e23178722afd4f6d1ec966c1abbdde91 (patch) | |
tree | e4c9c316e9950a490c14cd6c8d3e26cb6bffc2c6 /components/shared/script_layout | |
parent | 57428bc5da0b73f6fc81510a1aa7816e720baf14 (diff) | |
download | servo-011f9117e23178722afd4f6d1ec966c1abbdde91.tar.gz servo-011f9117e23178722afd4f6d1ec966c1abbdde91.zip |
layout: Use box tree `Fragment`s for offset parent queries
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/shared/script_layout')
-rw-r--r-- | components/shared/script_layout/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/shared/script_layout/lib.rs b/components/shared/script_layout/lib.rs index 6efbb2ae3eb..703e5d0f35d 100644 --- a/components/shared/script_layout/lib.rs +++ b/components/shared/script_layout/lib.rs @@ -249,7 +249,7 @@ pub trait Layout { point: Point2D<f32>, query_type: NodesFromPointQueryType, ) -> Vec<UntrustedNodeAddress>; - fn query_offset_parent(&self, node: OpaqueNode) -> OffsetParentResponse; + fn query_offset_parent(&self, node: TrustedNodeAddress) -> OffsetParentResponse; fn query_resolved_style( &self, node: TrustedNodeAddress, |