From 3b0619aedd967238091367f6e03dabf262e116ad Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 7 May 2020 18:37:18 +0200 Subject: Move most animation processing to script This is preparation for sharing this code with layout_2020 and implementing selective off-the-main-thread animations. We still look for nodes not in the flow tree in the layout thread. --- components/script_traits/script_msg.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'components/script_traits/script_msg.rs') diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 245a02ec6d2..b5687d6217e 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -61,8 +61,6 @@ pub struct IFrameSizeMsg { /// Messages from the layout to the constellation. #[derive(Deserialize, Serialize)] pub enum LayoutMsg { - /// Indicates whether this pipeline is currently running animations. - ChangeRunningAnimationsState(PipelineId, AnimationState), /// Inform the constellation of the size of the iframe's viewport. IFrameSizes(Vec), /// Requests that the constellation inform the compositor that it needs to record @@ -76,7 +74,6 @@ impl fmt::Debug for LayoutMsg { fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { use self::LayoutMsg::*; let variant = match *self { - ChangeRunningAnimationsState(..) => "ChangeRunningAnimationsState", IFrameSizes(..) => "IFrameSizes", PendingPaintMetric(..) => "PendingPaintMetric", ViewportConstrained(..) => "ViewportConstrained", -- cgit v1.2.3