Rename TaskState::RENDER -> TaskState::PAINT

This commit is contained in:
Tetsuharu OHZEKI 2014-12-08 14:23:20 +09:00
parent a9839fa18e
commit 4d562f893c
2 changed files with 3 additions and 3 deletions

View file

@ -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.