Index: ash/sticky_keys/sticky_keys_unittest.cc |
diff --git a/ash/sticky_keys/sticky_keys_unittest.cc b/ash/sticky_keys/sticky_keys_unittest.cc |
index 6016da975627359038f287880e972a51843f87c3..94742478ce3c9e741671ccc60b4fc9f63b4497e7 100644 |
--- a/ash/sticky_keys/sticky_keys_unittest.cc |
+++ b/ash/sticky_keys/sticky_keys_unittest.cc |
@@ -264,7 +264,7 @@ class StickyKeysTest : public test::AshTestBase, |
handler->HandleKeyEvent(ev.get()); |
} |
- void SendActivateStickyKeyPattern(aura::RootWindowHostDelegate* delegate, |
+ void SendActivateStickyKeyPattern(aura::WindowTreeHostDelegate* delegate, |
ui::KeyboardCode key_code) { |
scoped_ptr<ui::KeyEvent> ev; |
ev.reset(GenerateKey(true, key_code)); |
@@ -792,8 +792,8 @@ TEST_F(StickyKeysTest, KeyEventDispatchImpl) { |
// Test the actual key event dispatch implementation. |
EventBuffer buffer; |
ScopedVector<ui::Event> events; |
- aura::RootWindowHostDelegate* delegate = Shell::GetPrimaryRootWindow() |
- ->GetDispatcher()->AsRootWindowHostDelegate(); |
+ aura::WindowTreeHostDelegate* delegate = Shell::GetPrimaryRootWindow() |
+ ->GetDispatcher()->AsWindowTreeHostDelegate(); |
Shell::GetInstance()->AddPreTargetHandler(&buffer); |
Shell::GetInstance()->sticky_keys_controller()->Enable(true); |
@@ -831,8 +831,8 @@ TEST_F(StickyKeysTest, MouseEventDispatchImpl) { |
// Test the actual sticky mouse event dispatch implementation. |
EventBuffer buffer; |
ScopedVector<ui::Event> events; |
- aura::RootWindowHostDelegate* delegate = Shell::GetPrimaryRootWindow() |
- ->GetDispatcher()->AsRootWindowHostDelegate(); |
+ aura::WindowTreeHostDelegate* delegate = Shell::GetPrimaryRootWindow() |
+ ->GetDispatcher()->AsWindowTreeHostDelegate(); |
Shell::GetInstance()->AddPreTargetHandler(&buffer); |
Shell::GetInstance()->sticky_keys_controller()->Enable(true); |
@@ -867,8 +867,8 @@ TEST_F(StickyKeysTest, MouseWheelEventDispatchImpl) { |
// Test the actual mouse wheel event dispatch implementation. |
EventBuffer buffer; |
ScopedVector<ui::Event> events; |
- aura::RootWindowHostDelegate* delegate = Shell::GetPrimaryRootWindow() |
- ->GetDispatcher()->AsRootWindowHostDelegate(); |
+ aura::WindowTreeHostDelegate* delegate = Shell::GetPrimaryRootWindow() |
+ ->GetDispatcher()->AsWindowTreeHostDelegate(); |
Shell::GetInstance()->AddPreTargetHandler(&buffer); |
Shell::GetInstance()->sticky_keys_controller()->Enable(true); |