| Index: chrome/test/base/view_event_test_platform_part_chromeos.cc
|
| diff --git a/chrome/test/base/view_event_test_platform_part_chromeos.cc b/chrome/test/base/view_event_test_platform_part_chromeos.cc
|
| index 3714ff602285f8e75b391c7b6c1f0db15e2406c0..24832131a2f427c881ebf0ae5c7c4f17b6bb7636 100644
|
| --- a/chrome/test/base/view_event_test_platform_part_chromeos.cc
|
| +++ b/chrome/test/base/view_event_test_platform_part_chromeos.cc
|
| @@ -6,7 +6,8 @@
|
|
|
| #include <memory>
|
|
|
| -#include "ash/common/test/test_session_state_delegate.h"
|
| +#include "ash/common/test/test_session_controller_client.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "ash/shell.h"
|
| #include "ash/shell_init_params.h"
|
| #include "ash/test/ash_test_helper.h"
|
| @@ -70,8 +71,9 @@ ViewEventTestPlatformPartChromeOS::ViewEventTestPlatformPartChromeOS(
|
| base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| switches::kHostWindowBounds, "0+0-1280x800");
|
| ash::Shell::CreateInstance(init_params);
|
| - ash::test::AshTestHelper::GetTestSessionStateDelegate()->
|
| - SetActiveUserSessionStarted(true);
|
| + ash::test::TestSessionControllerClient session_controller_client(
|
| + ash::WmShell::Get()->session_controller());
|
| + session_controller_client.CreatePredefinedUserSessions(1);
|
| GetContext()->GetHost()->Show();
|
| }
|
|
|
|
|