Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor r=jmathies

Differential Revision: https://phabricator.services.mozilla.com/D14723

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kestrel 2019-01-09 16:37:34 +00:00
Родитель 96cd8b2f6a
Коммит 14467a827a
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -197,11 +197,14 @@ const char nsXPLookAndFeel::sColorPrefs[][41] = {
"ui.-moz-mac-source-list-selection",
"ui.-moz-mac-active-source-list-selection",
"ui.-moz-mac-tooltip",
"ui.-moz-win-accentcolor",
"ui.-moz-win-accentcolortext",
"ui.-moz-win-mediatext",
"ui.-moz-win-communicationstext",
"ui.-moz-nativehyperlinktext",
"ui.-moz-comboboxtext",
"ui.-moz-combobox"};
"ui.-moz-combobox",
"ui.-moz-gtk-info-bar-text"};
int32_t nsXPLookAndFeel::sCachedColors[LookAndFeel::eColorID_LAST_COLOR] = {0};
int32_t nsXPLookAndFeel::sCachedColorBits[COLOR_CACHE_SIZE] = {0};