| Index: ash/accelerators/accelerator_controller_unittest.cc
|
| diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
|
| index 1c5b9bb64e07474cbeaa85608333667cc51319ac..74f6ccb9a42d31d17e9079c9d0f0099ea1223d6c 100644
|
| --- a/ash/accelerators/accelerator_controller_unittest.cc
|
| +++ b/ash/accelerators/accelerator_controller_unittest.cc
|
| @@ -710,11 +710,15 @@ TEST_F(AcceleratorControllerTest, GlobalAccelerators) {
|
| CapsLockDelegate* delegate = Shell::GetInstance()->caps_lock_delegate();
|
| delegate->SetCapsLockEnabled(true);
|
| EXPECT_TRUE(delegate->IsCapsLockEnabled());
|
| - EXPECT_TRUE(ProcessWithContext(
|
| + EXPECT_FALSE(ProcessWithContext(
|
| ui::Accelerator(ui::VKEY_LWIN, ui::EF_ALT_DOWN)));
|
| - EXPECT_FALSE(delegate->IsCapsLockEnabled());
|
| EXPECT_TRUE(ProcessWithContext(
|
| + ReleaseAccelerator(ui::VKEY_LWIN, ui::EF_ALT_DOWN)));
|
| + EXPECT_FALSE(delegate->IsCapsLockEnabled());
|
| + EXPECT_FALSE(ProcessWithContext(
|
| ui::Accelerator(ui::VKEY_LWIN, ui::EF_ALT_DOWN)));
|
| + EXPECT_TRUE(ProcessWithContext(
|
| + ReleaseAccelerator(ui::VKEY_LWIN, ui::EF_ALT_DOWN)));
|
| EXPECT_TRUE(delegate->IsCapsLockEnabled());
|
| }
|
| const ui::Accelerator volume_mute(ui::VKEY_VOLUME_MUTE, ui::EF_NONE);
|
|
|