From 4ea840397d139bcaf3298a54a80a93d135f7dac7 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Tue, 3 Jun 2025 17:31:05 +0200 Subject: [PATCH] Disable prefers reduced motion: fix windows build --- build/patches/Disable-prefers-reduced-motion.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/patches/Disable-prefers-reduced-motion.patch b/build/patches/Disable-prefers-reduced-motion.patch index f70734a7..60cfdad1 100644 --- a/build/patches/Disable-prefers-reduced-motion.patch +++ b/build/patches/Disable-prefers-reduced-motion.patch @@ -49,7 +49,7 @@ diff --git a/ui/gfx/animation/animation_win.cc b/ui/gfx/animation/animation_win. // static void Animation::UpdatePrefersReducedMotion() { -+ if ((true)) return false; ++ if ((true)) return; // prefers_reduced_motion_ should only be modified on the UI thread. // TODO(crbug.com/40611878): DCHECK this assertion once tests are // well-behaved.