mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
be40d4df76
The MVM doesn't change the document viewer bounds nor the view manager bounds (maybe it used to?). Right now when exiting RDM, depending on the order of operations (if MVM reset is the last thing to happen) we end up with a wrong viewport size, because nsDocShell::SetSize is short-circuited here[1]. Instead, force a resize reflow with the current dimensions which is what the dynamic toolbar code also does, for example. [1]: https://searchfox.org/mozilla-central/rev/5ccb73c0217d1710b10d6e6e297cf3396d10ec23/view/nsViewManager.cpp#172 Differential Revision: https://phabricator.services.mozilla.com/D169806 |
||
---|---|---|
.. | ||
base | ||
build | ||
shistory | ||
test | ||
moz.build |