| Index: ui/views/controls/native/native_view_host.cc
|
| diff --git a/ui/views/controls/native/native_view_host.cc b/ui/views/controls/native/native_view_host.cc
|
| index 9a211cd187f8516cf9db7c5e3fd3615858edf748..c1b230c452e64bd8fd90d3e91310a5c16727d4c0 100644
|
| --- a/ui/views/controls/native/native_view_host.cc
|
| +++ b/ui/views/controls/native/native_view_host.cc
|
| @@ -38,7 +38,8 @@
|
| // be seen as focused when the native view receives focus.
|
| if (!focus_view_)
|
| focus_view_ = this;
|
| - native_wrapper_->AttachNativeView();
|
| + native_wrapper_->NativeViewWillAttach();
|
| + Widget::ReparentNativeView(native_view_, GetWidget()->GetNativeView());
|
| Layout();
|
|
|
| Widget* widget = Widget::GetWidgetForNativeView(native_view);
|
|
|