aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-12-08 13:28:13 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-12-08 14:05:50 +0900
commit806b6f09c99eafb7bda9f3fc0b96a1b121f85a53 (patch)
treed21080bc7814249fc05d4f62d30b1547cf27c88d /components/msg
parentb5f73fb1797ad3e1ad3df4a7f9f308b7b41d4c28 (diff)
downloadservo-806b6f09c99eafb7bda9f3fc0b96a1b121f85a53.tar.gz
servo-806b6f09c99eafb7bda9f3fc0b96a1b121f85a53.zip
Rename RenderState -> PaintState
Diffstat (limited to 'components/msg')
-rw-r--r--components/msg/compositor_msg.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/msg/compositor_msg.rs b/components/msg/compositor_msg.rs
index d4e8e208223..989d4d56968 100644
--- a/components/msg/compositor_msg.rs
+++ b/components/msg/compositor_msg.rs
@@ -12,11 +12,11 @@ use std::fmt;
use constellation_msg::PipelineId;
-/// The status of the renderer.
+/// The status of the painter.
#[deriving(PartialEq, Clone)]
-pub enum RenderState {
- IdleRenderState,
- RenderingRenderState,
+pub enum PaintState {
+ IdlePaintState,
+ PaintingPaintState,
}
#[deriving(Eq, Ord, PartialEq, PartialOrd, Clone)]
@@ -100,7 +100,7 @@ pub trait PaintListener for Sized? {
replies: Vec<(LayerId, Box<LayerBufferSet>)>);
fn paint_msg_discarded(&mut self);
- fn set_paint_state(&mut self, PipelineId, RenderState);
+ fn set_paint_state(&mut self, PipelineId, PaintState);
}
/// The interface used by the script task to tell the compositor to update its ready state,