Update rust version.

This commit is contained in:
Brian J. Burg 2012-11-16 08:54:44 -08:00
parent 54a71a7d0c
commit c29855f66a
3 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ against a released version of Rust will not work, nor will the Rust
'master' branch. The commit below will *probably* work. If it does not
then the topic in #servo might know better.
* Last known-good Rust commit: a0fda80a528122183938e4f0297102adffd62639
* Last known-good Rust commit: 624fbbd
[rust]: http://www.rust-lang.org

View file

@ -33,7 +33,7 @@ pub fn render_layers(layer_ref: *RenderLayer,
f: RenderFn) -> LayerBufferSet {
let tile_size = opts.tile_size;
let mut buffers = match move buffer_set { LayerBufferSet { buffers: move b } => move b };
let mut _buffers = match move buffer_set { LayerBufferSet { buffers: move b } => move b };
// FIXME: Try not to create a new array here.
let new_buffer_ports = dvec::DVec();

View file

@ -14,7 +14,7 @@ use geom::matrix2d::Matrix2D;
use std::arc::ARC;
use std::arc;
use std::cell::Cell;
use std::thread_pool::ThreadPool;
use std::task_pool::TaskPool;
pub enum Msg {
RenderMsg(RenderLayer),
@ -37,7 +37,7 @@ pub fn RenderTask<C: Compositor Send>(compositor: C, opts: Opts) -> RenderTask {
let n_threads = opts.n_render_threads;
let new_opts_cell = Cell(move opts);
let thread_pool = do ThreadPool::new(n_threads, Some(SingleThreaded))
let thread_pool = do TaskPool::new(n_threads, Some(SingleThreaded))
|move new_opts_cell| {
let opts_cell = Cell(new_opts_cell.with_ref(|o| copy *o));
let f: ~fn(uint) -> ThreadRenderContext = |thread_index, move opts_cell| {
@ -71,7 +71,7 @@ priv struct Renderer<C: Compositor Send> {
port: comm::Port<Msg>,
compositor: C,
layer_buffer_set_port: Cell<pipes::Port<LayerBufferSet>>,
thread_pool: ThreadPool<ThreadRenderContext>,
thread_pool: TaskPool<ThreadRenderContext>,
opts: Opts,
}