From 76d2a77b9021ed7e3630f7842fa203257dcbd9a8 Mon Sep 17 00:00:00 2001 From: RoyalOughtness <129108030+RoyalOughtness@users.noreply.github.com> Date: Wed, 1 Oct 2025 08:13:28 -0700 Subject: [PATCH] fix(build): drop unavailable image policy --- patches/exclude-images-from-dark-mode.patch | 25 --------------------- 1 file changed, 25 deletions(-) delete mode 100644 patches/exclude-images-from-dark-mode.patch diff --git a/patches/exclude-images-from-dark-mode.patch b/patches/exclude-images-from-dark-mode.patch deleted file mode 100644 index f1424bb3..00000000 --- a/patches/exclude-images-from-dark-mode.patch +++ /dev/null @@ -1,25 +0,0 @@ -Copyright 2024-2025 The Trivalent Authors - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed under the License is -distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and limitations under the License. ---- -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 61498c0a80..fb50ff1940 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;