mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 02:09:28 +00:00

Oddly, on 63 Beta simulation, nsIDocument::GetWindow() may return nullptr when HTMLEditor is being destroyed by unload of the page. I'm not sure if this is an expected change. However, HTMLEditor::HideResizers() should not stop cleaning up even if it meets unexpected situation. Additionally, this patch moves all HTMLEditor members related to resizers to local variables since while HideResizers() is cleaning up old resizers, the members may be overwritten by ShowResizers() if mutation event listener or something does something. Differential Revision: https://phabricator.services.mozilla.com/D4057 --HG-- extra : moz-landing-system : lando