Rename compositor_task::Msg.

This commit is contained in:
Tetsuharu OHZEKI 2014-12-08 11:54:59 +09:00
parent 79722bdc03
commit 94071f6330
3 changed files with 13 additions and 13 deletions

View file

@ -4,11 +4,11 @@
use compositor_layer::{CompositorData, CompositorLayer, DoesntWantScrollEvents};
use compositor_layer::WantsScrollEvents;
use compositor_task::{ChangeReadyState, ChangeRenderState, CompositorEventListener};
use compositor_task::{ChangeReadyState, ChangePaintState, CompositorEventListener};
use compositor_task::{CompositorProxy, CompositorReceiver, CompositorTask};
use compositor_task::{CreateOrUpdateDescendantLayer, CreateOrUpdateRootLayer, Exit};
use compositor_task::{FrameTreeUpdateMsg, GetGraphicsMetadata, LayerProperties};
use compositor_task::{LoadComplete, Msg, Paint, RenderMsgDiscarded, ScrollFragmentPoint};
use compositor_task::{LoadComplete, Msg, Paint, PaintMsgDiscarded, ScrollFragmentPoint};
use compositor_task::{ScrollTimeout, SetIds, SetLayerOrigin, ShutdownComplete};
use constellation::{SendableFrameTree, FrameTreeDiff};
use pipeline::CompositionPipeline;
@ -258,11 +258,11 @@ impl<Window: WindowMethods> IOCompositor<Window> {
self.change_ready_state(pipeline_id, ready_state);
}
(ChangeRenderState(pipeline_id, render_state), NotShuttingDown) => {
(ChangePaintState(pipeline_id, render_state), NotShuttingDown) => {
self.change_render_state(pipeline_id, render_state);
}
(RenderMsgDiscarded, NotShuttingDown) => {
(PaintMsgDiscarded, NotShuttingDown) => {
self.remove_outstanding_render_msg();
}