Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libservo: update stylo preferences in multiprocess mode.
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 servo#34660. Signed-off-by: Mukilan Thiyagarajan <[email protected]>
- Loading branch information