From fa91fbdb76134e30037cc086056a749d8da45a66 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 11 Oct 2012 12:56:51 -0700 Subject: [PATCH] Update for Rust library changes --- configure | 2 +- src/servo/dom/window.rs | 2 +- src/servo/html/hubbub_html_parser.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 44028f6f9a5..a2a334d9996 100755 --- a/configure +++ b/configure @@ -73,7 +73,7 @@ putvar() { else printf "configure: %-20s := %s %s\n" $1 "$T" "$2" fi - printf "%-20s := %s\n" $1 "$T" >>${CFG_SRC_DIR}config.tmp + printf "%-20s ?= %s\n" $1 "$T" >>${CFG_SRC_DIR}config.tmp } probe() { diff --git a/src/servo/dom/window.rs b/src/servo/dom/window.rs index 08d02fca1fb..35778c854b7 100644 --- a/src/servo/dom/window.rs +++ b/src/servo/dom/window.rs @@ -64,7 +64,7 @@ impl Window { } fn Window(content_port: Port) -> Window { - let content_chan = Chan(content_port); + let content_chan = Chan(&content_port); Window { timer_chan: do task::spawn_listener |timer_port: Port| { diff --git a/src/servo/html/hubbub_html_parser.rs b/src/servo/html/hubbub_html_parser.rs index 08411a3622b..65b4f832be1 100644 --- a/src/servo/html/hubbub_html_parser.rs +++ b/src/servo/html/hubbub_html_parser.rs @@ -55,7 +55,7 @@ fn css_link_listener(to_parent : comm::Chan, from_parent : comm::Por match from_parent.recv() { CSSTaskNewFile(url) => { let result_port = comm::Port(); - let result_chan = comm::Chan(result_port); + let result_chan = comm::Chan(&result_port); // TODO: change copy to move once we have match move let url = copy url; task::spawn(|| { @@ -86,7 +86,7 @@ fn js_script_listener(to_parent : comm::Chan<~[~[u8]]>, from_parent : comm::Port match from_parent.recv() { JSTaskNewFile(url) => { let result_port = comm::Port(); - let result_chan = comm::Chan(result_port); + let result_chan = comm::Chan(&result_port); // TODO: change copy to move once we have match move let url = copy url; do task::spawn || {