Index: content/renderer/npapi/webplugin_delegate_proxy.cc |
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.cc b/content/renderer/npapi/webplugin_delegate_proxy.cc |
index 0ba60f240f116f9cdf4813f360643543a0640b78..0b43640ec5d079e12d0964da191a5dd5c112c6db 100644 |
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc |
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc |
@@ -911,11 +911,12 @@ void WebPluginDelegateProxy::OnNotifyIMEStatus(int input_type, |
if (!render_view_) |
return; |
- render_view_->Send(new ViewHostMsg_TextInputTypeChanged( |
- render_view_->routing_id(), |
- static_cast<ui::TextInputType>(input_type), |
- ui::TEXT_INPUT_MODE_DEFAULT, |
- true, 0)); |
+ ViewHostMsg_TextInputState_Params params; |
+ params.type = static_cast<ui::TextInputType>(input_type); |
+ params.mode = ui::TEXT_INPUT_MODE_DEFAULT; |
+ params.can_compose_inline = true; |
+ render_view_->Send(new ViewHostMsg_TextInputStateChanged( |
+ render_view_->routing_id(), params)); |
ViewHostMsg_SelectionBounds_Params bounds_params; |
bounds_params.anchor_rect = bounds_params.focus_rect = caret_rect; |