From 14467a827ade8f20a31683bfed44d86e29cff6f5 Mon Sep 17 00:00:00 2001 From: Kestrel Date: Wed, 9 Jan 2019 16:37:34 +0000 Subject: [PATCH] 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 --- widget/nsXPLookAndFeel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widget/nsXPLookAndFeel.cpp b/widget/nsXPLookAndFeel.cpp index b7e5d205599c..2dd14b4dbee1 100644 --- a/widget/nsXPLookAndFeel.cpp +++ b/widget/nsXPLookAndFeel.cpp @@ -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};