mirror of
https://github.com/servo/servo.git
synced 2025-06-11 01:50:10 +00:00
Wait for actual paint before setting paint related metrics
This commit is contained in:
parent
1059ef4fde
commit
1b123400eb
16 changed files with 203 additions and 72 deletions
|
@ -1480,7 +1480,9 @@ impl ScriptThread {
|
|||
image_cache: self.image_cache.clone(),
|
||||
content_process_shutdown_chan: content_process_shutdown_chan,
|
||||
layout_threads: layout_threads,
|
||||
paint_time_metrics: PaintTimeMetrics::new(self.time_profiler_chan.clone()),
|
||||
paint_time_metrics: PaintTimeMetrics::new(new_pipeline_id,
|
||||
self.time_profiler_chan.clone(),
|
||||
self.layout_to_constellation_chan.clone()),
|
||||
});
|
||||
|
||||
// Pick a layout thread, any layout thread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue