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 | 3af2c1c8795312d6cbb947b50bc1912df0589e0e (patch) | |
tree | 35b8827a066753b3a7ea0b02d47e0f50288030aa /layout | |
parent | f843f02860d8acd709fe89bfa891892d907de81a (diff) | |
download | UXP-3af2c1c8795312d6cbb947b50bc1912df0589e0e.tar UXP-3af2c1c8795312d6cbb947b50bc1912df0589e0e.tar.gz UXP-3af2c1c8795312d6cbb947b50bc1912df0589e0e.tar.lz UXP-3af2c1c8795312d6cbb947b50bc1912df0589e0e.tar.xz UXP-3af2c1c8795312d6cbb947b50bc1912df0589e0e.zip |
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 b27e6d0e3..d9f7b368c 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(); |