diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-12-08 14:23:20 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-12-08 14:25:08 +0900 |
commit | 4d562f893c94656028e3f23f3b62110d839202d7 (patch) | |
tree | 14980872a33bc1a31e58e328853f41dbe8fd3327 | |
parent | a9839fa18e82c1b9dae126314e4a788fd87738bd (diff) | |
download | servo-4d562f893c94656028e3f23f3b62110d839202d7.tar.gz servo-4d562f893c94656028e3f23f3b62110d839202d7.zip |
Rename TaskState::RENDER -> TaskState::PAINT
-rw-r--r-- | components/gfx/paint_task.rs | 2 | ||||
-rw-r--r-- | components/util/task_state.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/components/gfx/paint_task.rs b/components/gfx/paint_task.rs index 4d4d3809bd8..55706d255d6 100644 --- a/components/gfx/paint_task.rs +++ b/components/gfx/paint_task.rs @@ -177,7 +177,7 @@ impl<C> PaintTask<C> where C: PaintListener + Send { time_profiler_chan: TimeProfilerChan, shutdown_chan: Sender<()>) { let ConstellationChan(c) = constellation_chan.clone(); - spawn_named_with_send_on_failure("PaintTask", task_state::RENDER, proc() { + spawn_named_with_send_on_failure("PaintTask", task_state::PAINT, proc() { { // Ensures that the render task and graphics context are destroyed before the // shutdown message. diff --git a/components/util/task_state.rs b/components/util/task_state.rs index f3f72d33207..cd64bb40e2c 100644 --- a/components/util/task_state.rs +++ b/components/util/task_state.rs @@ -15,7 +15,7 @@ bitflags! { flags TaskState: u32 { const SCRIPT = 0x01, const LAYOUT = 0x02, - const RENDER = 0x04, + const PAINT = 0x04, const IN_WORKER = 0x0100, const IN_GC = 0x0200, @@ -40,7 +40,7 @@ macro_rules! task_types ( ( $( $fun:ident = $flag:ident ; )* ) => ( task_types! { is_script = SCRIPT; is_layout = LAYOUT; - is_render = RENDER; + is_paint = PAINT; } #[cfg(not(ndebug))] |