servo/components/servo
Mukilan Thiyagarajan 1e17dfdf31
libservo: update stylo preferences in multiprocess mode. (#34661)
When servo is run in multiprocess mode, the content process receives
the preferences via IPC from the main process. However, currently
these preferences are only used to update  Servo's own preferences by
explictly calling Preference::set_all(). This doesn't ensure that
stylo's copy of preferences is also updated.

This change replaces the call to `Preference::set_all()` with
call to `add_user_prefs` which does ensure both Servo's and Stylos'
preferences are updated.

Fixes #34660.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-12-17 09:02:50 +00:00
..
build.rs clippy: Fix suggestions in script, libservo, and servoshell (#33453) 2024-09-14 08:41:13 +00:00
Cargo.toml Add prefs to limit threadpool sizes (#34478) 2024-12-07 05:25:17 +00:00
lib.rs libservo: update stylo preferences in multiprocess mode. (#34661) 2024-12-17 09:02:50 +00:00