| 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 3fc47c34c2e7d67e675a880cc84f8f091f5a5679..0d0235834ddbe0b1224750dee71d58c41f2861b7 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| @@ -36,6 +36,7 @@
|
| #include "content/common/host_shared_bitmap_manager.h"
|
| #include "content/common/input_messages.h"
|
| #include "content/common/site_isolation_policy.h"
|
| +#include "content/common/text_input_state.h"
|
| #include "content/common/view_messages.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_plugin_guest_manager.h"
|
| @@ -979,10 +980,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*>(
|
|
|