diff options
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/Cargo.toml | 4 | ||||
-rw-r--r-- | components/script/layout_dom/node.rs | 2 | ||||
-rw-r--r-- | components/script/script_thread.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index f8a26d20790..d87ae88e0ab 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -53,8 +53,8 @@ enum-iterator = "0.3" euclid = { workspace = true } fnv = { workspace = true } fxhash = { workspace = true } -gfx_traits = { workspace = true } -gfx = { path = "../gfx" } +fonts_traits = { workspace = true } +fonts = { path = "../fonts" } headers = { workspace = true } html5ever = { workspace = true } http = { workspace = true } 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; diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 8a8a80b9c2a..1d3fb58766a 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -47,7 +47,7 @@ use devtools_traits::{ }; use embedder_traits::EmbedderMsg; use euclid::default::{Point2D, Rect}; -use gfx::font_cache_thread::FontCacheThread; +use fonts::FontCacheThread; use headers::{HeaderMapExt, LastModified, ReferrerPolicy as ReferrerPolicyHeader}; use html5ever::{local_name, namespace_url, ns}; use hyper_serde::Serde; |