mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
else
|
||||||
printf "configure: %-20s := %s %s\n" $1 "$T" "$2"
|
printf "configure: %-20s := %s %s\n" $1 "$T" "$2"
|
||||||
fi
|
fi
|
||||||
printf "%-20s := %s\n" $1 "$T" >>${CFG_SRC_DIR}config.tmp
|
printf "%-20s ?= %s\n" $1 "$T" >>${CFG_SRC_DIR}config.tmp
|
||||||
}
|
}
|
||||||
|
|
||||||
probe() {
|
probe() {
|
||||||
|
|
|
@ -64,7 +64,7 @@ impl Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn Window(content_port: Port<ControlMsg>) -> Window {
|
fn Window(content_port: Port<ControlMsg>) -> Window {
|
||||||
let content_chan = Chan(content_port);
|
let content_chan = Chan(&content_port);
|
||||||
|
|
||||||
Window {
|
Window {
|
||||||
timer_chan: do task::spawn_listener |timer_port: Port<TimerControlMsg>| {
|
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() {
|
match from_parent.recv() {
|
||||||
CSSTaskNewFile(url) => {
|
CSSTaskNewFile(url) => {
|
||||||
let result_port = comm::Port();
|
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
|
// TODO: change copy to move once we have match move
|
||||||
let url = copy url;
|
let url = copy url;
|
||||||
task::spawn(|| {
|
task::spawn(|| {
|
||||||
|
@ -86,7 +86,7 @@ fn js_script_listener(to_parent : comm::Chan<~[~[u8]]>, from_parent : comm::Port
|
||||||
match from_parent.recv() {
|
match from_parent.recv() {
|
||||||
JSTaskNewFile(url) => {
|
JSTaskNewFile(url) => {
|
||||||
let result_port = comm::Port();
|
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
|
// TODO: change copy to move once we have match move
|
||||||
let url = copy url;
|
let url = copy url;
|
||||||
do task::spawn || {
|
do task::spawn || {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue