diff options
author | Martin Robinson <mrobinson@igalia.com> | 2020-05-07 18:37:18 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2020-05-12 10:22:14 +0200 |
commit | 3b0619aedd967238091367f6e03dabf262e116ad (patch) | |
tree | b2427a9f19befc3017860053d3a416fda3d87275 /components/constellation | |
parent | aa9f16ce45f6eb22ffd5bc6a10802ded4cc2319b (diff) | |
download | servo-3b0619aedd967238091367f6e03dabf262e116ad.tar.gz servo-3b0619aedd967238091367f6e03dabf262e116ad.zip |
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.
Diffstat (limited to 'components/constellation')
-rw-r--r-- | components/constellation/constellation.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs index 00dcd2a4eb8..423314e6b0a 100644 --- a/components/constellation/constellation.rs +++ b/components/constellation/constellation.rs @@ -2237,9 +2237,6 @@ where fn handle_request_from_layout(&mut self, message: FromLayoutMsg) { debug!("Constellation got {:?} message", message); match message { - FromLayoutMsg::ChangeRunningAnimationsState(pipeline_id, animation_state) => { - self.handle_change_running_animations_state(pipeline_id, animation_state) - }, // Layout sends new sizes for all subframes. This needs to be reflected by all // frame trees in the navigation context containing the subframe. FromLayoutMsg::IFrameSizes(iframe_sizes) => { |