зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
96457b1fbb
Коммит
492e89d585
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче