From c9873a0885bf50544bc2b72154dc257c66cb7959 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 12 Aug 2025 22:34:13 +0300 Subject: layout: Remove by-ref animation_snapshot() getter It was used in only one place, and that place was due for an update to use the cached data. --- src/window/mapped.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/window') diff --git a/src/window/mapped.rs b/src/window/mapped.rs index 995c76bf..f179bced 100644 --- a/src/window/mapped.rs +++ b/src/window/mapped.rs @@ -1174,10 +1174,6 @@ impl LayoutElement for Mapped { &self.rules } - fn animation_snapshot(&self) -> Option<&LayoutElementRenderSnapshot> { - self.animation_snapshot.as_ref() - } - fn take_animation_snapshot(&mut self) -> Option { self.animation_snapshot.take() } -- cgit