Index: trunk/src/ui/aura/test/event_generator.cc |
=================================================================== |
--- trunk/src/ui/aura/test/event_generator.cc (revision 236091) |
+++ trunk/src/ui/aura/test/event_generator.cc (working copy) |
@@ -586,8 +586,8 @@ |
} |
pending_events_.push_back(pending_event); |
} else { |
- WindowTreeHostDelegate* root_window_host_delegate = |
- current_root_window_->AsWindowTreeHostDelegate(); |
+ RootWindowHostDelegate* root_window_host_delegate = |
+ current_root_window_->AsRootWindowHostDelegate(); |
if (event->IsKeyEvent()) { |
root_window_host_delegate->OnHostKeyEvent( |
static_cast<ui::KeyEvent*>(event)); |