diff options
author | Martin Robinson <mrobinson@igalia.com> | 2024-05-22 10:30:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 08:30:35 +0000 |
commit | 9f32809671c8c8e79d59c95194dcc466452299fc (patch) | |
tree | e813eb7d1e3971bba08ad119ff6ddf15ebca6d01 /components/script/dom/gpubindgroup.rs | |
parent | d47c8ff2aeebe5854a7c8484a33d285268347fee (diff) | |
download | servo-9f32809671c8c8e79d59c95194dcc466452299fc.tar.gz servo-9f32809671c8c8e79d59c95194dcc466452299fc.zip |
fonts: Clean up messaging during web fonts loads (#32332)
Instead of sending a message to the script thread via IPC when a web
font loads and then sending another, just give the `FontContext` a
callback that send a single message to the script thread. This moves all
the cache invalidation internally into `FontContext` as well.
Additionally, the unused LayoutControlMessage::ExitNow enum variant is
removed.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'components/script/dom/gpubindgroup.rs')
0 files changed, 0 insertions, 0 deletions