Disable prefers reduced motion: fix windows build

This commit is contained in:
Carmelo Messina
2025-06-03 17:31:05 +02:00
parent bc5da626a1
commit 4ea840397d
@@ -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.