| Index: ash/shell/content_client/shell_browser_main_parts.cc
|
| diff --git a/ash/shell/content_client/shell_browser_main_parts.cc b/ash/shell/content_client/shell_browser_main_parts.cc
|
| index 72239208a1e1beee0026ed81e1e0c44de14a6b47..8c2a37a3e3f75056727a3d9e613fe8cabcead959 100644
|
| --- a/ash/shell/content_client/shell_browser_main_parts.cc
|
| +++ b/ash/shell/content_client/shell_browser_main_parts.cc
|
| @@ -9,6 +9,7 @@
|
| #include "ash/shell.h"
|
| #include "ash/shell/shell_delegate_impl.h"
|
| #include "ash/shell/window_watcher.h"
|
| +#include "ash/shell_init_params.h"
|
| #include "ash/system/user/login_status.h"
|
| #include "base/bind.h"
|
| #include "base/command_line.h"
|
| @@ -121,7 +122,9 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
|
| chromeos::CrasAudioHandler::InitializeForTesting();
|
| #endif
|
|
|
| - ash::Shell::CreateInstance(delegate_);
|
| + ash::ShellInitParams init_params;
|
| + init_params.delegate = delegate_;
|
| + ash::Shell::CreateInstance(init_params);
|
| delegate_->set_browser_context(browser_context_.get());
|
| ash::Shell::GetInstance()->CreateShelf();
|
| ash::Shell::GetInstance()->UpdateAfterLoginStatusChange(
|
|
|