forked from mirrors/gecko-dev
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 | ||