| Index: ui/aura/window.cc
|
| diff --git a/ui/aura/window.cc b/ui/aura/window.cc
|
| index 83a532b0524371c09cd0bb47625a93eedcd6e9f9..0f6452662b4683e5db15a1b4fa3f88357f7627f5 100644
|
| --- a/ui/aura/window.cc
|
| +++ b/ui/aura/window.cc
|
| @@ -144,7 +144,7 @@ void Window::Init(ui::LayerType layer_type) {
|
| port_ = port_owner_.get();
|
| }
|
| SetLayer(base::MakeUnique<ui::Layer>(layer_type));
|
| - port_->OnPreInit(this);
|
| + port_->OnPreInit(this, layer_type);
|
| layer()->SetVisible(false);
|
| layer()->set_delegate(this);
|
| UpdateLayerName();
|
|
|