aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/gfx
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-05-20 16:13:03 +0200
committerGitHub <noreply@github.com>2024-05-20 14:13:03 +0000
commitbe5b527ea34c8be1bfa53d4a4eaf2729e100db28 (patch)
tree371df7732a9c095e268fc3c6a9321672dc515922 /components/shared/gfx
parent8d2d955bbb23826b75faf866e4dcccabb8d7f4e8 (diff)
downloadservo-be5b527ea34c8be1bfa53d4a4eaf2729e100db28.tar.gz
servo-be5b527ea34c8be1bfa53d4a4eaf2729e100db28.zip
fonts: Store web fonts in the per-Layout `FontContext` (#32303)
This moves mangement of web fonts to the per-Layout `FontContext`, preventing web fonts from being available in different Documents. Fixes #12920. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'components/shared/gfx')
-rw-r--r--components/shared/gfx/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/shared/gfx/Cargo.toml b/components/shared/gfx/Cargo.toml
index 23bf75bfb07..292cd58b92c 100644
--- a/components/shared/gfx/Cargo.toml
+++ b/components/shared/gfx/Cargo.toml
@@ -11,6 +11,7 @@ name = "gfx_traits"
path = "lib.rs"
[dependencies]
+ipc-channel = { workspace = true }
malloc_size_of = { workspace = true }
malloc_size_of_derive = { workspace = true }
range = { path = "../../range" }