Index: content/browser/renderer_host/render_widget_host_view_mac.mm |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm |
index 991dc7a759fc5b2d9207d61e298adbdf6d51c40c..e0aef15c83f138eb4cd9960128f001b6b3a16c1a 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -1043,15 +1043,12 @@ void RenderWidgetHostViewMac::SetIsLoading(bool is_loading) { |
// like Chrome does on Windows, call |UpdateCursor()| here. |
} |
-void RenderWidgetHostViewMac::TextInputTypeChanged( |
- ui::TextInputType type, |
- ui::TextInputMode input_mode, |
- bool can_compose_inline, |
- int flags) { |
- if (text_input_type_ != type |
- || can_compose_inline_ != can_compose_inline) { |
- text_input_type_ = type; |
- can_compose_inline_ = can_compose_inline; |
+void RenderWidgetHostViewMac::TextInputStateChanged( |
+const ViewHostMsg_TextInputState_Params& params) { |
+ if (text_input_type_ != params.type |
+ || can_compose_inline_ != params.can_compose_inline) { |
+ text_input_type_ = params.type; |
+ can_compose_inline_ = params.can_compose_inline; |
if (HasFocus()) { |
SetTextInputActive(true); |