Backed out changeset e959df5e9484 (bug 1872545) for bustages on COLRFonts.cpp

This commit is contained in:
Narcis Beleuzu
2024-01-02 13:50:05 +02:00
parent 1901c9d000
commit 99b9ad7672
14 changed files with 87 additions and 123 deletions

View File

@@ -2948,8 +2948,6 @@ void nsPresContext::FlushFontPaletteValues() {
mFontPaletteValueSet = styleSet->BuildFontPaletteValueSet();
mFontPaletteValuesDirty = false;
mFontPaletteCache.SetPaletteValueSet(mFontPaletteValueSet);
// Even if we're not reflowing anything, a change to the palette means we
// need to repaint in order to show the new colors.
InvalidatePaintedLayers();