diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-07-19 13:33:17 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-04 20:39:23 +0100 |
commit | fe312b28d8e25d05608eed928e20b8e5f1180565 (patch) | |
tree | 35b8827a066753b3a7ea0b02d47e0f50288030aa /layout | |
parent | 88f51fef364438dedecc318d97b3272047095bac (diff) | |
download | uxp-fe312b28d8e25d05608eed928e20b8e5f1180565.tar.gz |
Make the '-moz-windows-accent-color-applies' media query live to Windows 10 settings changes.
Diffstat (limited to 'layout')
-rw-r--r-- | layout/base/nsPresContext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/base/nsPresContext.cpp b/layout/base/nsPresContext.cpp index b27e6d0e3a..d9f7b368c7 100644 --- a/layout/base/nsPresContext.cpp +++ b/layout/base/nsPresContext.cpp @@ -1696,6 +1696,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(); |