aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_dom
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-06-19 22:26:19 +0200
committerGitHub <noreply@github.com>2024-06-19 20:26:19 +0000
commitcd2ab36759dc58acdeb2b8321c38b7345b524a63 (patch)
tree30b940ca93f61d937f719c214d66f22374c90b2f /components/script/layout_dom
parent9f8118abc7fd9aba49e422cf13b5243e3b582fdc (diff)
downloadservo-cd2ab36759dc58acdeb2b8321c38b7345b524a63.tar.gz
servo-cd2ab36759dc58acdeb2b8321c38b7345b524a63.zip
Rename `gfx` to `fonts` (#32556)
This crate only takes care of fonts now as graphics related things are split into other crates. In addition, this exposes data structures at the top of the crate, hiding the implementation details and making it simpler to import them. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'components/script/layout_dom')
-rw-r--r--components/script/layout_dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_dom/node.rs b/components/script/layout_dom/node.rs
index f4e014a6a1b..efb05a2f121 100644
--- a/components/script/layout_dom/node.rs
+++ b/components/script/layout_dom/node.rs
@@ -9,7 +9,7 @@ use std::fmt;
use std::sync::Arc as StdArc;
use base::id::{BrowsingContextId, PipelineId};
-use gfx_traits::ByteIndex;
+use fonts_traits::ByteIndex;
use html5ever::{local_name, namespace_url, ns};
use pixels::{Image, ImageMetadata};
use range::Range;