Index: content/browser/renderer_host/render_widget_host.cc |
diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc |
index 9532db2a078a5336ad0a5286efc59b9d888d925f..47075f6c6f50743cf4822ba078e0d4514f2a92ad 100644 |
--- a/content/browser/renderer_host/render_widget_host.cc |
+++ b/content/browser/renderer_host/render_widget_host.cc |
@@ -783,11 +783,17 @@ void RenderWidgetHost::ImeSetComposition( |
} |
void RenderWidgetHost::ImeConfirmComposition(const string16& text) { |
- Send(new ViewMsg_ImeConfirmComposition(routing_id(), text)); |
+ ImeConfirmComposition(text, ui::Range::InvalidRange()); |
+} |
+ |
+void RenderWidgetHost::ImeConfirmComposition( |
+ const string16& text, const ui::Range& replacement_range) { |
+ Send(new ViewMsg_ImeConfirmComposition( |
+ routing_id(), text, replacement_range)); |
} |
void RenderWidgetHost::ImeConfirmComposition() { |
- Send(new ViewMsg_ImeConfirmComposition(routing_id(), string16())); |
+ ImeConfirmComposition(string16()); |
} |
void RenderWidgetHost::ImeCancelComposition() { |