diff --git a/src/components/main/servo.rc b/src/components/main/servo.rc index e47fde30600..5196990f628 100755 --- a/src/components/main/servo.rc +++ b/src/components/main/servo.rc @@ -111,7 +111,7 @@ fn run(opts: &Opts) { // Send the URL command to the engine task. for opts.urls.each |filename| { - engine_chan.chan.send(LoadUrlMsg(make_url(copy *filename, None))) + engine_chan.send(LoadUrlMsg(make_url(copy *filename, None))) } // Wait for the compositor to shut down. @@ -120,7 +120,7 @@ fn run(opts: &Opts) { // Shut the engine down. debug!("master: Shut down"); let (exit_response_from_engine, exit_chan) = comm::stream(); - engine_chan.chan.send(ExitMsg(exit_chan)); + engine_chan.send(ExitMsg(exit_chan)); exit_response_from_engine.recv(); } diff --git a/src/components/util/time.rs b/src/components/util/time.rs index 7b738cc8bfc..cd639105e9a 100644 --- a/src/components/util/time.rs +++ b/src/components/util/time.rs @@ -198,7 +198,7 @@ pub fn profile(category: ProfilerCategory, let val = callback(); let end_time = precise_time_ns(); let ms = ((end_time - start_time) as f64 / 1000000f64); - profiler_chan.chan.send(TimeMsg(category, ms)); + profiler_chan.send(TimeMsg(category, ms)); return val; }