mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update euclid to 0.10.1
This commit is contained in:
parent
8a75810eba
commit
51768844ed
37 changed files with 281 additions and 280 deletions
|
@ -392,7 +392,7 @@ impl LayoutThread {
|
|||
-> LayoutThread {
|
||||
let device = Device::new(
|
||||
MediaType::Screen,
|
||||
opts::get().initial_window_size.as_f32() * ScaleFactor::new(1.0));
|
||||
opts::get().initial_window_size.to_f32() * ScaleFactor::new(1.0));
|
||||
let parallel_traversal = if layout_threads != 1 {
|
||||
Some(WorkQueue::new("LayoutWorker", thread_state::LAYOUT, layout_threads))
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue