Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor. r=jmathies, a=RyanVM
authorKestrel <ke5trel@protonmail.com>
Wed, 09 Jan 2019 16:37:34 +0000
changeset 509456 192563fa86235b783669e8c0ce624a59eec0f708
parent 509455 6e759841cfad41500c7f82936d4f28b3818fc99d
child 509457 aa0bf52184e60befc3b47a83d252aafdc13df34e
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmathies, RyanVM
bugs1514715
milestone65.0
Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor. r=jmathies, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D14723
widget/nsXPLookAndFeel.cpp
--- a/widget/nsXPLookAndFeel.cpp
+++ b/widget/nsXPLookAndFeel.cpp
@@ -192,21 +192,24 @@ const char nsXPLookAndFeel::sColorPrefs[
     "ui.-moz-mac-vibrant-titlebar-dark",
     "ui.-moz-mac-menupopup",
     "ui.-moz-mac-menuitem",
     "ui.-moz-mac-active-menuitem",
     "ui.-moz-mac-source-list",
     "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};
 
 bool nsXPLookAndFeel::sInitialized = false;
 bool nsXPLookAndFeel::sUseNativeColors = true;
 bool nsXPLookAndFeel::sUseStandinsForNativeColors = false;
 bool nsXPLookAndFeel::sFindbarModalHighlight = false;