mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update for Rust library changes
This commit is contained in:
parent
a0c2db053d
commit
fa91fbdb76
3 changed files with 4 additions and 4 deletions
2
configure
vendored
2
configure
vendored
|
@ -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() {
|
||||
|
|
|
@ -64,7 +64,7 @@ impl Window {
|
|||
}
|
||||
|
||||
fn Window(content_port: Port<ControlMsg>) -> Window {
|
||||
let content_chan = Chan(content_port);
|
||||
let content_chan = Chan(&content_port);
|
||||
|
||||
Window {
|
||||
timer_chan: do task::spawn_listener |timer_port: Port<TimerControlMsg>| {
|
||||
|
|
|
@ -55,7 +55,7 @@ fn css_link_listener(to_parent : comm::Chan<Stylesheet>, 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 || {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue