| Index: ash/autoclick/autoclick_unittest.cc
|
| diff --git a/ash/autoclick/autoclick_unittest.cc b/ash/autoclick/autoclick_unittest.cc
|
| index 6c975fb8db5c9ea58e9d6b606d0df3913d93f3d4..2bd15b102f3f2694ac13bf60a057aa57524ff63e 100644
|
| --- a/ash/autoclick/autoclick_unittest.cc
|
| +++ b/ash/autoclick/autoclick_unittest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "ash/autoclick/autoclick_controller.h"
|
| +#include "ash/public/cpp/config.h"
|
| #include "ash/shell.h"
|
| #include "ash/shell_port.h"
|
| #include "ash/test/ash_test_base.h"
|
| @@ -71,7 +72,7 @@ class AutoclickTest : public test::AshTestBase {
|
|
|
| // Make sure the display is initialized so we don't fail the test due to any
|
| // input events caused from creating the display.
|
| - if (!ShellPort::Get()->IsRunningInMash())
|
| + if (Shell::GetAshConfig() != Config::MASH)
|
| Shell::Get()->display_manager()->UpdateDisplays();
|
| RunAllPendingInMessageLoop();
|
| }
|
|
|