diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-05-20 16:13:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 14:13:03 +0000 |
commit | be5b527ea34c8be1bfa53d4a4eaf2729e100db28 (patch) | |
tree | 371df7732a9c095e268fc3c6a9321672dc515922 /components/shared/net/lib.rs | |
parent | 8d2d955bbb23826b75faf866e4dcccabb8d7f4e8 (diff) | |
download | servo-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/net/lib.rs')
-rw-r--r-- | components/shared/net/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/shared/net/lib.rs b/components/shared/net/lib.rs index 595d47c7b06..1fccc8a18c4 100644 --- a/components/shared/net/lib.rs +++ b/components/shared/net/lib.rs @@ -341,7 +341,7 @@ where // See also: https://github.com/servo/servo/blob/735480/components/script/script_thread.rs#L313 #[derive(Clone, Debug, Deserialize, Serialize)] pub struct ResourceThreads { - core_thread: CoreResourceThread, + pub core_thread: CoreResourceThread, storage_thread: IpcSender<StorageThreadMsg>, } |