mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove some clones.
This commit is contained in:
parent
09f5648153
commit
0067cb2101
2 changed files with 5 additions and 5 deletions
|
@ -231,14 +231,14 @@ impl CompositorTask {
|
|||
box compositor::IOCompositor::create(window,
|
||||
sender,
|
||||
receiver,
|
||||
constellation_chan.clone(),
|
||||
constellation_chan,
|
||||
time_profiler_chan,
|
||||
mem_profiler_chan)
|
||||
as Box<CompositorEventListener>
|
||||
}
|
||||
None => {
|
||||
box headless::NullCompositor::create(receiver,
|
||||
constellation_chan.clone(),
|
||||
constellation_chan,
|
||||
time_profiler_chan,
|
||||
mem_profiler_chan)
|
||||
as Box<CompositorEventListener>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue