mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
fda8ec623e
Conceptually, a repaint request that arrives in APZCCallbackHelper with !GetScrollOffsetUpdated() is a repaint request that the APZ is sending in response to a main-thread update it received. The purpose of the repaint request is mainly to update the displayport margins; the scroll position and resolution should not have changed. Therefore actively trying to set the scroll position or resolution as a result of these repaint requests should at best be a no-op but often triggers unnecessary clobbering of things that are in-flight, or extra reflows. This can result in buggy behaviour. Bug 1286179 avoided doing this for the scroll position, and this patch does the equivalent thing for zooming. MozReview-Commit-ID: 91RbRP0ZHBe --HG-- extra : rebase_source : 7bb97075619f5435705d369a695d37aa1c972278 |
||
---|---|---|
.. | ||
2d | ||
angle | ||
cairo | ||
config | ||
doc | ||
docs | ||
gl | ||
graphite2 | ||
harfbuzz | ||
ipc | ||
layers | ||
ots | ||
qcms | ||
sfntly | ||
skia | ||
src | ||
tests | ||
thebes | ||
vr | ||
webrender | ||
webrender_api | ||
webrender_bindings | ||
ycbcr | ||
moz.build |