Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-11-21 12:37:41 +01:00 committed by Martin Robinson
parent 10f8eb4239
commit ea3fcce25f
2 changed files with 4 additions and 3 deletions

View file

@ -114,7 +114,8 @@ impl StyleThreadPool {
#[cfg(feature = "servo")]
fn stylo_threads_pref() -> i32 {
pref!(layout.threads)
use servo_config::pref;
pref!(layout.threads) as i32
}
#[cfg(feature = "gecko")]