Index: chromecast/graphics/cast_window_manager_aura.cc |
diff --git a/chromecast/graphics/cast_window_manager_aura.cc b/chromecast/graphics/cast_window_manager_aura.cc |
index d0f15598bbf9c05262e7ac5c17431e4a9b6e48c1..7fec872618810367a7765b3836369c84ed67f1b5 100644 |
--- a/chromecast/graphics/cast_window_manager_aura.cc |
+++ b/chromecast/graphics/cast_window_manager_aura.cc |
@@ -75,13 +75,7 @@ void CastWindowTreeHost::DispatchEvent(ui::Event* event) { |
return; |
} |
- if (event->IsKeyEvent()) { |
- // Convert a RawKeyDown into a character insertion; otherwise |
- // the WebContents will ignore most keyboard input. |
- GetInputMethod()->DispatchKeyEvent(event->AsKeyEvent()); |
- } else { |
- WindowTreeHostPlatform::DispatchEvent(event); |
- } |
+ WindowTreeHostPlatform::DispatchEvent(event); |
} |
// A layout manager owned by the root window. |