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 48d8cbdc2afb08da101f4395cbb954e6fb848577..aa202cced95c8ebd868c9525be457e1d8d1aaf44 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -952,14 +952,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) { |
- 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); |