mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1284553 - Use a fuzzy-compare for the presShell resolution so that negligible differences don't block all repaint requests. r=botond
MozReview-Commit-ID: LtxP7HGGRXn
This commit is contained in:
parent
ddb39c8024
commit
fa4d5f2834
@ -249,7 +249,7 @@ APZCCallbackHelper::UpdateRootFrame(FrameMetrics& aMetrics)
|
||||
// the time this repaint request was fired, consider this request out of date
|
||||
// and drop it; setting a zoom based on the out-of-date resolution can have
|
||||
// the effect of getting us stuck with the stale resolution.
|
||||
if (presShellResolution != aMetrics.GetPresShellResolution()) {
|
||||
if (!FuzzyEqualsMultiplicative(presShellResolution, aMetrics.GetPresShellResolution())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user