servo: Update for latest language changes

Source-Repo: https://github.com/servo/servo
Source-Revision: a6d9b123e4fc5b5de2d9f10199dc6ef62402eb0d
This commit is contained in:
Brian Anderson 2012-06-24 14:26:23 -07:00
parent 19a4b0098e
commit 6f6a36073c
4 changed files with 3 additions and 4 deletions

View File

@ -76,7 +76,7 @@ fn do_draw(sender: chan<AzDrawTargetRef>,
output: chan<[u8]>,
cairo_surf: *cairo_surface_t) {
listen {|data_ch|
listen {|data_ch: chan<[u8]>|
crust fn write_fn(closure: *c_void,
data: *c_uchar,

View File

@ -17,7 +17,7 @@ iface io_service {
fn new_channel(uri: uri) -> channel;
}
class file_channel implements channel {
class file_channel: channel {
let bogus : int;
new() {

View File

@ -230,7 +230,7 @@ fn spawn_css_lexer_task(-filename: ~str) -> port<Token> {
// otherwise just send an eof. This is a hack to allow
// guessing that if foo.html exists, foo.css is the
// corresponding stylesheet.
if file_try.is_success() {
if file_try.is_ok() {
#debug["Lexing css sheet %s", *copy filename];
let file_data = file_try.get();
let reader = io::bytes_reader(file_data);

View File

@ -1,5 +1,4 @@
import comm::*;
import result::extensions;
import gfx::renderer;
import platform::osmain;
import osmain::{OSMain, AddKeyHandler};