aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/compositor_thread.rs
diff options
context:
space:
mode:
authorGregory Terzian <gterzian@users.noreply.github.com>2018-05-26 23:41:34 +0800
committerGregory Terzian <gterzian@users.noreply.github.com>2018-06-04 15:02:23 +0800
commit2753e5efabd77b83dd94bf59fe3f01535e8ac10a (patch)
treedc6b3463570cd1aaba4d71401837d56c6f28c60f /components/compositing/compositor_thread.rs
parentf63284efc04b298b010f34f5225a3fa9014bf763 (diff)
downloadservo-2753e5efabd77b83dd94bf59fe3f01535e8ac10a.tar.gz
servo-2753e5efabd77b83dd94bf59fe3f01535e8ac10a.zip
improve spec compliance of window.close
Diffstat (limited to 'components/compositing/compositor_thread.rs')
-rw-r--r--components/compositing/compositor_thread.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/compositing/compositor_thread.rs b/components/compositing/compositor_thread.rs
index 76b3172b5dd..15fd4d31cd6 100644
--- a/components/compositing/compositor_thread.rs
+++ b/components/compositing/compositor_thread.rs
@@ -68,14 +68,10 @@ impl CompositorProxy {
/// Messages from the painting thread and the constellation thread to the compositor thread.
pub enum Msg {
- /// Requests that the compositor shut down.
- Exit,
-
/// Informs the compositor that the constellation has completed shutdown.
/// Required because the constellation can have pending calls to make
/// (e.g. SetFrameTree) at the time that we send it an ExitMsg.
ShutdownComplete,
-
/// Alerts the compositor that the given pipeline has changed whether it is running animations.
ChangeRunningAnimationsState(PipelineId, AnimationState),
/// Replaces the current frame tree, typically called during main frame navigation.
@@ -123,7 +119,6 @@ pub enum Msg {
impl Debug for Msg {
fn fmt(&self, f: &mut Formatter) -> Result<(), Error> {
match *self {
- Msg::Exit => write!(f, "Exit"),
Msg::ShutdownComplete => write!(f, "ShutdownComplete"),
Msg::ChangeRunningAnimationsState(..) => write!(f, "ChangeRunningAnimationsState"),
Msg::SetFrameTree(..) => write!(f, "SetFrameTree"),