Index: trunk/src/content/shell/browser/shell_aura.cc |
=================================================================== |
--- trunk/src/content/shell/browser/shell_aura.cc (revision 236091) |
+++ trunk/src/content/shell/browser/shell_aura.cc (working copy) |
@@ -101,7 +101,7 @@ |
virtual bool DispatchKeyEventPostIME( |
const base::NativeEvent& event) OVERRIDE { |
ui::TranslatedKeyEvent aura_event(event, false /* is_char */); |
- return root_->AsWindowTreeHostDelegate()->OnHostKeyEvent( |
+ return root_->AsRootWindowHostDelegate()->OnHostKeyEvent( |
&aura_event); |
} |
@@ -110,7 +110,7 @@ |
int flags) OVERRIDE { |
ui::TranslatedKeyEvent aura_event(type == ui::ET_KEY_PRESSED, key_code, |
flags); |
- return root_->AsWindowTreeHostDelegate()->OnHostKeyEvent( |
+ return root_->AsRootWindowHostDelegate()->OnHostKeyEvent( |
&aura_event); |
} |