Bug 1879386 - Make sure we respect the "must use light colors" bit in non-native...
commitd8e936e70632369c6b2c2cc905632b4af7c1ec51
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 12 Feb 2024 20:12:39 +0000 (12 20:12 +0000)
committerEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 12 Feb 2024 20:12:39 +0000 (12 20:12 +0000)
tree3ff034d518f97a4d9559b938efb17d5af567ea5d
parent072fe2a810751e884f7e5eff348b4b3cd4007d7e
Bug 1879386 - Make sure we respect the "must use light colors" bit in non-native theme drawing. r=morgan

This seems hard to reliably test... Basically, this forces all windows
HCM to use "light" system colors for non-native drawing, the same way we
do for system color resolution.

Differential Revision: https://phabricator.services.mozilla.com/D201205
widget/ThemeColors.cpp
widget/ThemeColors.h