fix: reparenting UAF crash on macOS (#38603)
This commit is contained in:
parent
9a9d8ae5ea
commit
5ee890fb6f
3 changed files with 36 additions and 10 deletions
|
@ -157,6 +157,7 @@ class NativeWindowMac : public NativeWindow,
|
|||
bool IsActive() const override;
|
||||
// Remove the specified child window without closing it.
|
||||
void RemoveChildWindow(NativeWindow* child) override;
|
||||
void RemoveChildFromParentWindow(NativeWindow* child);
|
||||
// Attach child windows, if the window is visible.
|
||||
void AttachChildren() override;
|
||||
// Detach window from parent without destroying it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue