aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared
diff options
context:
space:
mode:
Diffstat (limited to 'components/shared')
-rw-r--r--components/shared/compositing/Cargo.toml2
-rw-r--r--components/shared/fonts/Cargo.toml (renamed from components/shared/gfx/Cargo.toml)4
-rw-r--r--components/shared/fonts/lib.rs (renamed from components/shared/gfx/lib.rs)0
-rw-r--r--components/shared/script/Cargo.toml2
-rw-r--r--components/shared/script_layout/Cargo.toml4
-rw-r--r--components/shared/script_layout/lib.rs2
-rw-r--r--components/shared/script_layout/wrapper_traits.rs2
7 files changed, 8 insertions, 8 deletions
diff --git a/components/shared/compositing/Cargo.toml b/components/shared/compositing/Cargo.toml
index ca31ce4201f..f46a35f6e03 100644
--- a/components/shared/compositing/Cargo.toml
+++ b/components/shared/compositing/Cargo.toml
@@ -15,7 +15,7 @@ base = { workspace = true }
crossbeam-channel = { workspace = true }
embedder_traits = { workspace = true }
euclid = { workspace = true }
-gfx_traits = { workspace = true }
+fonts_traits = { workspace = true }
ipc-channel = { workspace = true }
keyboard-types = { workspace = true }
log = { workspace = true }
diff --git a/components/shared/gfx/Cargo.toml b/components/shared/fonts/Cargo.toml
index ffcbcc53c9f..32e10a7e389 100644
--- a/components/shared/gfx/Cargo.toml
+++ b/components/shared/fonts/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "gfx_traits"
+name = "fonts_traits"
version.workspace = true
authors.workspace = true
license.workspace = true
@@ -7,7 +7,7 @@ edition.workspace = true
publish.workspace = true
[lib]
-name = "gfx_traits"
+name = "fonts_traits"
path = "lib.rs"
[dependencies]
diff --git a/components/shared/gfx/lib.rs b/components/shared/fonts/lib.rs
index 032dcfd19e0..032dcfd19e0 100644
--- a/components/shared/gfx/lib.rs
+++ b/components/shared/fonts/lib.rs
diff --git a/components/shared/script/Cargo.toml b/components/shared/script/Cargo.toml
index 7624b542498..c8303658efa 100644
--- a/components/shared/script/Cargo.toml
+++ b/components/shared/script/Cargo.toml
@@ -21,7 +21,7 @@ crossbeam-channel = { workspace = true }
devtools_traits = { workspace = true }
embedder_traits = { workspace = true }
euclid = { workspace = true }
-gfx_traits = { workspace = true }
+fonts_traits = { workspace = true }
http = { workspace = true }
hyper_serde = { workspace = true }
ipc-channel = { workspace = true }
diff --git a/components/shared/script_layout/Cargo.toml b/components/shared/script_layout/Cargo.toml
index f4e310510ee..922df1ba324 100644
--- a/components/shared/script_layout/Cargo.toml
+++ b/components/shared/script_layout/Cargo.toml
@@ -17,8 +17,8 @@ atomic_refcell = { workspace = true }
canvas_traits = { workspace = true }
crossbeam-channel = { workspace = true }
euclid = { workspace = true }
-gfx = { path = "../../gfx" }
-gfx_traits = { workspace = true }
+fonts = { path = "../../fonts" }
+fonts_traits = { workspace = true }
html5ever = { workspace = true }
ipc-channel = { workspace = true }
libc = { workspace = true }
diff --git a/components/shared/script_layout/lib.rs b/components/shared/script_layout/lib.rs
index baf885e3524..bb9099e8b45 100644
--- a/components/shared/script_layout/lib.rs
+++ b/components/shared/script_layout/lib.rs
@@ -23,7 +23,7 @@ use canvas_traits::canvas::{CanvasId, CanvasMsg};
use crossbeam_channel::Sender;
use euclid::default::{Point2D, Rect};
use euclid::Size2D;
-use gfx::font_cache_thread::FontCacheThread;
+use fonts::FontCacheThread;
use ipc_channel::ipc::IpcSender;
use libc::c_void;
use malloc_size_of_derive::MallocSizeOf;
diff --git a/components/shared/script_layout/wrapper_traits.rs b/components/shared/script_layout/wrapper_traits.rs
index fe3fc69f47e..5c8da0315b4 100644
--- a/components/shared/script_layout/wrapper_traits.rs
+++ b/components/shared/script_layout/wrapper_traits.rs
@@ -10,7 +10,7 @@ use std::sync::Arc as StdArc;
use atomic_refcell::AtomicRef;
use base::id::{BrowsingContextId, PipelineId};
-use gfx_traits::ByteIndex;
+use fonts_traits::ByteIndex;
use html5ever::{local_name, namespace_url, ns, LocalName, Namespace};
use pixels::{Image, ImageMetadata};
use range::Range;