fix: segfault when moving WebContentsView between BrowserWindows (#44613)
* fix: segfault when moving WebContentsView between BrowserWindows Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * chore: actually enable fix Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * fixup segfault when moving WebContentsView between BrowserWindows Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
c9d026e19b
commit
2f20dbea55
3 changed files with 58 additions and 1 deletions
|
@ -47,6 +47,8 @@ class View : public gin_helper::EventEmitter<View>,
|
|||
// views::ViewObserver
|
||||
void OnViewBoundsChanged(views::View* observed_view) override;
|
||||
void OnViewIsDeleting(views::View* observed_view) override;
|
||||
void OnChildViewRemoved(views::View* observed_view,
|
||||
views::View* child) override;
|
||||
|
||||
views::View* view() const { return view_; }
|
||||
std::optional<int> border_radius() const { return border_radius_; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue