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 942dc716e1400ced193b28bb4c91743ec9afd6de..3a53804e77dc79dcf78f0b4439016686c8f743f2 100644 |
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc |
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc |
@@ -33,6 +33,7 @@ |
#include "content/common/content_constants_internal.h" |
#include "content/common/cursors/webcursor.h" |
#include "content/common/frame_messages.h" |
+#include "content/common/text_input_state.h" |
#include "content/common/view_messages.h" |
#include "content/public/renderer/content_renderer_client.h" |
#include "content/renderer/npapi/plugin_channel_host.h" |
@@ -760,7 +761,7 @@ void WebPluginDelegateProxy::OnNotifyIMEStatus(int input_type, |
if (!render_view_) |
return; |
- ViewHostMsg_TextInputState_Params params; |
+ TextInputState params; |
params.type = static_cast<ui::TextInputType>(input_type); |
params.mode = ui::TEXT_INPUT_MODE_DEFAULT; |
params.can_compose_inline = true; |