From 0a2087f1e6860d93b6352e924e939cff103d70f8 Mon Sep 17 00:00:00 2001 From: win32ss Date: Wed, 11 Sep 2024 01:59:11 -0400 Subject: [PATCH] (#871) Forced web dark mode default image filter policy changed due to poor algorithm for determining good candidates for colour changes. --- .../renderer/platform/graphics/dark_mode_settings_builder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/blink/renderer/platform/graphics/dark_mode_settings_builder.cc b/third_party/blink/renderer/platform/graphics/dark_mode_settings_builder.cc index 254b8165d2d969..d764a03ba8d180 100644 --- a/third_party/blink/renderer/platform/graphics/dark_mode_settings_builder.cc +++ b/third_party/blink/renderer/platform/graphics/dark_mode_settings_builder.cc @@ -23,7 +23,7 @@ namespace { const constexpr DarkModeInversionAlgorithm kDefaultDarkModeInversionAlgorithm = DarkModeInversionAlgorithm::kInvertLightnessLAB; const constexpr DarkModeImagePolicy kDefaultDarkModeImagePolicy = - DarkModeImagePolicy::kFilterSmart; + DarkModeImagePolicy::kFilterNone; const constexpr DarkModeImageClassifierPolicy kDefaultDarkModeImageClassifierPolicy = DarkModeImageClassifierPolicy::kNumColorsWithMlFallback;