Index: chrome/browser/renderer_host/render_widget_host_view_win.cc |
=================================================================== |
--- chrome/browser/renderer_host/render_widget_host_view_win.cc (revision 46639) |
+++ chrome/browser/renderer_host/render_widget_host_view_win.cc (working copy) |
@@ -614,6 +614,8 @@ |
const gfx::Rect& caret_rect) { |
if (control == IME_DISABLE) { |
ime_input_.DisableIME(m_hWnd); |
+ } else if (control == IME_CANCEL_COMPOSITION) { |
+ ime_input_.CancelIME(m_hWnd); |
} else { |
ime_input_.EnableIME(m_hWnd, caret_rect, |
control == IME_COMPLETE_COMPOSITION); |