Remove some clones.

This commit is contained in:
Ms2ger 2015-05-15 17:52:53 +02:00
parent 09f5648153
commit 0067cb2101
2 changed files with 5 additions and 5 deletions

View file

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