mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
commit
39556cc832
7 changed files with 19 additions and 17 deletions
|
@ -294,7 +294,7 @@ impl LayoutTask {
|
|||
};
|
||||
|
||||
// Register this thread as a memory reporter, via its own channel.
|
||||
let reporter = Box::new(chan.clone());
|
||||
let reporter = box chan.clone();
|
||||
let reporter_name = format!("layout-reporter-{}", id.0);
|
||||
mem_profiler_chan.send(mem::ProfilerMsg::RegisterReporter(reporter_name.clone(), reporter));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue