Skip to content
Commit a06bd3ed authored by Sam Davis Omekara's avatar Sam Davis Omekara Committed by Chromium LUCI CQ
Browse files

Update source in WebContentsImpl::GetColorProviderColorMaps()

This CL updates the source from which we get the Forced colors color
map in WebContentsImpl::GetColorProviderColorMaps(). Specifically, the
source for the Forced colors color map should be the
DefaultColorProviderSource, which reflects the NativeTheme web instance.
In contrast, the ColorMode color maps(light & dark) will continue to
reflect the corresponding ColorProvider, especially for WebUI, which
tracks the color mode of its associated ColorProvider.

Bug: 40779801
Change-Id: Ibc73f80bd3cb185fc731f89f0a406ca21f98b897
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5402446


Reviewed-by: default avatarThomas Lukaszewicz <tluk@chromium.org>
Reviewed-by: default avatarAlison Maher <almaher@microsoft.com>
Commit-Queue: Sam Davis Omekara <samomekarajr@microsoft.com>
Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1282116}
parent 81486e12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment