mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Make it possible for iframes to create their own pipeline ID.
This doesn't change any functionality, but it's the first step towards removing SubpageId. Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR. Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread.
This commit is contained in:
parent
35888e5a1d
commit
5645dba1fa
9 changed files with 193 additions and 68 deletions
|
@ -277,7 +277,7 @@ impl LayoutTaskFactory for LayoutTask {
|
|||
time_profiler_chan,
|
||||
mem_profiler_chan.clone());
|
||||
|
||||
let reporter_name = format!("layout-reporter-{}", id.0);
|
||||
let reporter_name = format!("layout-reporter-{}", id);
|
||||
mem_profiler_chan.run_with_memory_reporting(|| {
|
||||
layout.start();
|
||||
}, reporter_name, layout_chan.0, Msg::CollectReports);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue