mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00

Move mParent to nsIWidget.h along with kids and so on. Instead of ReparentNativeWidget add a more general DidChangeParent method. Make mParent weak to prevent cycles. These are broken on Destroy() but it feels kinda silly, and we were inconsistent before I started this effort so pretty sure it can be done. Differential Revision: https://phabricator.services.mozilla.com/D225796