| Index: ui/aura/root_window.cc
|
| ===================================================================
|
| --- ui/aura/root_window.cc (revision 160403)
|
| +++ ui/aura/root_window.cc (working copy)
|
| @@ -83,8 +83,10 @@
|
|
|
| RootWindowHost* CreateHost(RootWindow* root_window,
|
| const RootWindow::CreateParams& params) {
|
| - return params.host ? params.host :
|
| - RootWindowHost::Create(root_window, params.initial_bounds);
|
| + RootWindowHost* host = params.host ?
|
| + params.host : RootWindowHost::Create(params.initial_bounds);
|
| + host->SetDelegate(root_window);
|
| + return host;
|
| }
|
|
|
| } // namespace
|
|
|