mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update for latest language changes
This commit is contained in:
parent
776be8cf31
commit
a6d9b123e4
5 changed files with 4 additions and 5 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 530d8661e5282180acd2c3005f4fe7f0c2477f0a
|
Subproject commit b6276a4cf5a96e2d687eafd626111d51d3ea815b
|
|
@ -76,7 +76,7 @@ fn do_draw(sender: chan<AzDrawTargetRef>,
|
||||||
output: chan<[u8]>,
|
output: chan<[u8]>,
|
||||||
cairo_surf: *cairo_surface_t) {
|
cairo_surf: *cairo_surface_t) {
|
||||||
|
|
||||||
listen {|data_ch|
|
listen {|data_ch: chan<[u8]>|
|
||||||
|
|
||||||
crust fn write_fn(closure: *c_void,
|
crust fn write_fn(closure: *c_void,
|
||||||
data: *c_uchar,
|
data: *c_uchar,
|
||||||
|
|
|
@ -17,7 +17,7 @@ iface io_service {
|
||||||
fn new_channel(uri: uri) -> channel;
|
fn new_channel(uri: uri) -> channel;
|
||||||
}
|
}
|
||||||
|
|
||||||
class file_channel implements channel {
|
class file_channel: channel {
|
||||||
let bogus : int;
|
let bogus : int;
|
||||||
|
|
||||||
new() {
|
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
|
// otherwise just send an eof. This is a hack to allow
|
||||||
// guessing that if foo.html exists, foo.css is the
|
// guessing that if foo.html exists, foo.css is the
|
||||||
// corresponding stylesheet.
|
// corresponding stylesheet.
|
||||||
if file_try.is_success() {
|
if file_try.is_ok() {
|
||||||
#debug["Lexing css sheet %s", *copy filename];
|
#debug["Lexing css sheet %s", *copy filename];
|
||||||
let file_data = file_try.get();
|
let file_data = file_try.get();
|
||||||
let reader = io::bytes_reader(file_data);
|
let reader = io::bytes_reader(file_data);
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import comm::*;
|
import comm::*;
|
||||||
import result::extensions;
|
|
||||||
import gfx::renderer;
|
import gfx::renderer;
|
||||||
import platform::osmain;
|
import platform::osmain;
|
||||||
import osmain::{OSMain, AddKeyHandler};
|
import osmain::{OSMain, AddKeyHandler};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue