mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
servo: Update for latest language changes
Source-Repo: https://github.com/servo/servo Source-Revision: a6d9b123e4fc5b5de2d9f10199dc6ef62402eb0d
This commit is contained in:
parent
19a4b0098e
commit
6f6a36073c
@ -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,
|
||||
|
@ -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() {
|
||||
|
@ -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);
|
||||
|
@ -1,5 +1,4 @@
|
||||
import comm::*;
|
||||
import result::extensions;
|
||||
import gfx::renderer;
|
||||
import platform::osmain;
|
||||
import osmain::{OSMain, AddKeyHandler};
|
||||
|
Loading…
Reference in New Issue
Block a user