| Index: mash/wm/non_client_frame_controller.cc
|
| diff --git a/mash/wm/non_client_frame_controller.cc b/mash/wm/non_client_frame_controller.cc
|
| index a4c699807f12c510acf9402d0e42a7c02155c67f..e935bdae2af605debafd8439877ecea682ab9610 100644
|
| --- a/mash/wm/non_client_frame_controller.cc
|
| +++ b/mash/wm/non_client_frame_controller.cc
|
| @@ -204,7 +204,8 @@ NonClientFrameController::NonClientFrameController(
|
| mus::Window* window,
|
| mus::WindowManagerClient* window_manager_client)
|
| : widget_(new views::Widget), window_(window) {
|
| - WmWindowMus::Get(window)->set_widget(widget_);
|
| + WmWindowMus::Get(window)->set_widget(
|
| + widget_, WmWindowMus::WidgetCreationType::FOR_CLIENT);
|
| window_->AddObserver(this);
|
|
|
| // To simplify things this code creates a Widget. While a Widget is created
|
|
|