summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_aura.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser/shell_aura.cc')
-rw-r--r--content/shell/browser/shell_aura.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/shell/browser/shell_aura.cc b/content/shell/browser/shell_aura.cc
index 6d66963..b458d8f 100644
--- a/content/shell/browser/shell_aura.cc
+++ b/content/shell/browser/shell_aura.cc
@@ -101,7 +101,7 @@ class MinimalInputEventFilter : public ui::internal::InputMethodDelegate,
virtual bool DispatchKeyEventPostIME(
const base::NativeEvent& event) OVERRIDE {
ui::TranslatedKeyEvent aura_event(event, false /* is_char */);
- return root_->AsRootWindowHostDelegate()->OnHostKeyEvent(
+ return root_->AsWindowTreeHostDelegate()->OnHostKeyEvent(
&aura_event);
}
@@ -110,7 +110,7 @@ class MinimalInputEventFilter : public ui::internal::InputMethodDelegate,
int flags) OVERRIDE {
ui::TranslatedKeyEvent aura_event(type == ui::ET_KEY_PRESSED, key_code,
flags);
- return root_->AsRootWindowHostDelegate()->OnHostKeyEvent(
+ return root_->AsWindowTreeHostDelegate()->OnHostKeyEvent(
&aura_event);
}