| Index: ash/accelerators/accelerator_controller_unittest.cc
|
| diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
|
| index 7012f4f33aa2bcffbfd6ba162e1444b2e2ffa1cb..e5c9a3e9bf8060dbd138db77b95fe43398570fce 100644
|
| --- a/ash/accelerators/accelerator_controller_unittest.cc
|
| +++ b/ash/accelerators/accelerator_controller_unittest.cc
|
| @@ -427,7 +427,7 @@ TEST_F(AcceleratorControllerTest, IsRegistered) {
|
|
|
| TEST_F(AcceleratorControllerTest, WindowSnap) {
|
| scoped_ptr<aura::Window> window(
|
| - aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL));
|
| + CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
|
| const ui::Accelerator dummy;
|
|
|
| wm::ActivateWindow(window.get());
|
| @@ -521,7 +521,7 @@ TEST_F(AcceleratorControllerTest, ControllerContext) {
|
|
|
| TEST_F(AcceleratorControllerTest, SuppressToggleMaximized) {
|
| scoped_ptr<aura::Window> window(
|
| - aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL));
|
| + CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
|
| wm::ActivateWindow(window.get());
|
| const ui::Accelerator accelerator(ui::VKEY_A, ui::EF_NONE);
|
| const ui::Accelerator empty_accelerator;
|
| @@ -1144,7 +1144,7 @@ TEST_F(AcceleratorControllerTest, DisallowedAtModalWindow) {
|
| << " not found in kAcceleratorData. action: " << *it;
|
| }
|
| scoped_ptr<aura::Window> window(
|
| - aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL));
|
| + CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
|
| const ui::Accelerator dummy;
|
| wm::ActivateWindow(window.get());
|
| Shell::GetInstance()->SimulateModalWindowOpenForTesting(true);
|
|
|