Index: ash/mus/non_client_frame_controller.cc |
diff --git a/ash/mus/non_client_frame_controller.cc b/ash/mus/non_client_frame_controller.cc |
index 3ef8bf3443d966bec537506f9f50298030f3abd3..cd75f6be5c224192021f7682aa02784d277dd9d6 100644 |
--- a/ash/mus/non_client_frame_controller.cc |
+++ b/ash/mus/non_client_frame_controller.cc |
@@ -112,11 +112,9 @@ class EmptyDraggableNonClientFrameView : public views::NonClientFrameView { |
class WmNativeWidgetMus : public views::NativeWidgetMus { |
public: |
WmNativeWidgetMus(views::internal::NativeWidgetDelegate* delegate, |
- shell::Connector* connector, |
::ui::Window* window, |
::ui::WindowManagerClient* window_manager_client) |
: NativeWidgetMus(delegate, |
- connector, |
window, |
::ui::mojom::SurfaceType::UNDERLAY), |
window_manager_client_(window_manager_client) {} |
@@ -238,7 +236,7 @@ NonClientFrameController::NonClientFrameController( |
params.activatable = views::Widget::InitParams::ACTIVATABLE_NO; |
params.delegate = this; |
params.native_widget = |
- new WmNativeWidgetMus(widget_, connector, window, window_manager_client); |
+ new WmNativeWidgetMus(widget_, window, window_manager_client); |
widget_->Init(params); |
parent->AddChild(window); |