Make the '-moz-windows-accent-color-applies' media query live to Windows 10 settings changes.

This commit is contained in:
Pale Moon
2017-07-13 01:37:33 +02:00
committed by Roy Tam
parent b0c1db3ef8
commit 5d95e1784d
+3
View File
@@ -1733,6 +1733,9 @@ nsPresContext::SysColorChangedInternal()
sLookAndFeelChanged = false;
}
// Invalidate cached '-moz-windows-accent-color-applies' media query:
nsCSSRuleProcessor::FreeSystemMetrics();
// Reset default background and foreground colors for the document since
// they may be using system colors
GetDocumentColorPreferences();