Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index 007c9776e09b12b428b89ae2632ce5ec0c0f4ac8..b6b9dcfd6943c0b059523981a148aca2935b98fe 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -986,10 +986,9 @@ void BrowserPluginGuest::OnTakeFocus(bool reverse) { |
new BrowserPluginMsg_AdvanceFocus(browser_plugin_instance_id(), reverse)); |
} |
-void BrowserPluginGuest::OnTextInputStateChanged( |
- const ViewHostMsg_TextInputState_Params& params) { |
+void BrowserPluginGuest::OnTextInputStateChanged(const TextInputState& params) { |
// Save the state of text input so we can restore it on focus. |
- last_text_input_state_.reset(new ViewHostMsg_TextInputState_Params(params)); |
+ last_text_input_state_.reset(new TextInputState(params)); |
SendTextInputTypeChangedToView( |
static_cast<RenderWidgetHostViewBase*>( |