Index: ash/virtual_keyboard_controller_unittest.cc |
diff --git a/ash/virtual_keyboard_controller_unittest.cc b/ash/virtual_keyboard_controller_unittest.cc |
index 7a6d67681cff2f4dae99307882b6d762c31645ae..5c452a1359ee6687f1cf41adb66f1c07e46d30da 100644 |
--- a/ash/virtual_keyboard_controller_unittest.cc |
+++ b/ash/virtual_keyboard_controller_unittest.cc |
@@ -52,6 +52,8 @@ class VirtualKeyboardControllerTest : public AshTestBase { |
} |
void SetUp() override { |
+ base::CommandLine::ForCurrentProcess()->AppendSwitch( |
+ keyboard::switches::kDisableSmartVirtualKeyboard); |
AshTestBase::SetUp(); |
UpdateKeyboardDevices(std::vector<ui::KeyboardDevice>()); |
UpdateTouchscreenDevices(std::vector<ui::TouchscreenDevice>()); |
@@ -112,8 +114,6 @@ class VirtualKeyboardControllerAutoTest : public VirtualKeyboardControllerTest, |
~VirtualKeyboardControllerAutoTest() override {} |
void SetUp() override { |
- base::CommandLine::ForCurrentProcess()->AppendSwitch( |
- keyboard::switches::kEnableAutoVirtualKeyboard); |
AshTestBase::SetUp(); |
// Set the current list of devices to empty so that they don't interfere |
// with the test. |