servo: Merge #8 - Updating servo for new kind-checking rules (from eholk:master)

Source-Repo: https://github.com/servo/servo
Source-Revision: 7f3d010fd4318d756ec8aeb0955efd509457f289
This commit is contained in:
Eric Holk 2012-05-24 10:01:58 -07:00
Родитель 96457b1fbb
Коммит 492e89d585
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -5,7 +5,7 @@ enum msg {
exit(comm::chan<()>)
}
fn engine<S: renderer::sink send>(sink: S) -> comm::chan<msg> {
fn engine<S: renderer::sink send copy>(sink: S) -> comm::chan<msg> {
task::spawn_listener::<msg> {|self_ch|
// The renderer

Просмотреть файл

@ -19,7 +19,7 @@ iface sink {
fn draw(next_dt: chan<AzDrawTargetRef>, draw_me: AzDrawTargetRef);
}
fn renderer<S: sink send>(sink: S) -> chan<msg> {
fn renderer<S: sink send copy>(sink: S) -> chan<msg> {
task::spawn_listener::<msg> {|po|
listen {|draw_target_ch|
#debug("renderer: beginning rendering loop");