| Index: ui/views/controls/native/native_view_host_mac.mm
|
| diff --git a/ui/views/controls/native/native_view_host_mac.mm b/ui/views/controls/native/native_view_host_mac.mm
|
| index 2858508de81dfdea065f9bcad7ef26e2abcd439c..88581c276c1aba40b94d3269d9bf2c95c0cbec58 100644
|
| --- a/ui/views/controls/native/native_view_host_mac.mm
|
| +++ b/ui/views/controls/native/native_view_host_mac.mm
|
| @@ -26,7 +26,7 @@ void ReparentNSView(NSView* native_view, Widget* new_parent) {
|
| // might want to associate with the hosted NSView instead.
|
| {
|
| Widget::Widgets child_widgets;
|
| - Widget::GetAllChildWidgets(native_view, &child_widgets);
|
| + Widget::GetAllChildAndOwnedWidgets(native_view, &child_widgets);
|
| CHECK_GE(1u, child_widgets.size()); // 1 (itself) or 0 if detached.
|
| }
|
|
|
|
|