From 4357751f285c79bf37a8e7a02d4c8dc4f7a8ae69 Mon Sep 17 00:00:00 2001 From: atbrakhi Date: Wed, 3 Jul 2024 09:27:08 +0200 Subject: use au in TextFragment (#32653) --- components/layout_2020/fragment_tree/fragment.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'components/layout_2020/fragment_tree/fragment.rs') diff --git a/components/layout_2020/fragment_tree/fragment.rs b/components/layout_2020/fragment_tree/fragment.rs index 7fcf2cfbb18..8456ef3eec6 100644 --- a/components/layout_2020/fragment_tree/fragment.rs +++ b/components/layout_2020/fragment_tree/fragment.rs @@ -11,7 +11,6 @@ use fonts::{FontMetrics, GlyphStore}; use serde::Serialize; use servo_arc::Arc as ServoArc; use style::properties::ComputedValues; -use style::values::computed::Length; use style::values::specified::text::TextDecorationLine; use style::Zero; use webrender_api::{FontInstanceKey, ImageKey}; @@ -75,7 +74,7 @@ pub(crate) struct TextFragment { pub text_decoration_line: TextDecorationLine, /// Extra space to add for each justification opportunity. - pub justification_adjustment: Length, + pub justification_adjustment: Au, } #[derive(Serialize)] -- cgit v1.2.3