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. --- niri-visual-tests/src/test_window.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'niri-visual-tests/src') diff --git a/niri-visual-tests/src/test_window.rs b/niri-visual-tests/src/test_window.rs index 7ac9c463..7fee44c6 100644 --- a/niri-visual-tests/src/test_window.rs +++ b/niri-visual-tests/src/test_window.rs @@ -255,10 +255,6 @@ impl LayoutElement for TestWindow { &EMPTY } - fn animation_snapshot(&self) -> Option<&LayoutElementRenderSnapshot> { - None - } - fn take_animation_snapshot(&mut self) -> Option { None } -- cgit