mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 817454 - ensure PresContext's cached mAppUnitsPerDevPixel value is updated when backing resolution changes. r=roc
This commit is contained in:
parent
1cfce68e53
commit
1d28c90cd6
@ -811,6 +811,8 @@ nsPresContext::AppUnitsPerDevPixelChanged()
|
||||
// All cached style data must be recomputed.
|
||||
MediaFeatureValuesChanged(eAlwaysRebuildStyle, NS_STYLE_HINT_REFLOW);
|
||||
}
|
||||
|
||||
mCurAppUnitsPerDevPixel = AppUnitsPerDevPixel();
|
||||
}
|
||||
|
||||
void
|
||||
@ -1403,8 +1405,6 @@ nsPresContext::SetFullZoom(float aZoom)
|
||||
AppUnitsPerDevPixelChanged();
|
||||
|
||||
mSupressResizeReflow = false;
|
||||
|
||||
mCurAppUnitsPerDevPixel = AppUnitsPerDevPixel();
|
||||
}
|
||||
|
||||
float
|
||||
|
Loading…
Reference in New Issue
Block a user