implement clone for embedder and compositor proxies

This commit is contained in:
Gregory Terzian 2017-08-27 03:47:31 +08:00
parent 01c24e017d
commit 6bca3402a6
4 changed files with 14 additions and 8 deletions

View file

@ -213,8 +213,8 @@ impl<Window> Servo<Window> where Window: WindowMethods + 'static {
// as the navigation context.
let (constellation_chan, sw_senders) = create_constellation(opts.user_agent.clone(),
opts.config_dir.clone(),
embedder_proxy.clone_embedder_proxy(),
compositor_proxy.clone_compositor_proxy(),
embedder_proxy.clone(),
compositor_proxy.clone(),
time_profiler_chan.clone(),
mem_profiler_chan.clone(),
debugger_chan,