auto merge of #5422 : bdero/servo/bdero/box-syntax, r=jdm

Closes #5417
This commit is contained in:
bors-servo 2015-03-29 17:10:01 -06:00
commit 39556cc832
7 changed files with 19 additions and 17 deletions

View file

@ -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));