Index: content/renderer/browser_plugin/browser_plugin.cc |
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc |
index ed9dafb029dd572b18cc6a88673e264d0e75f381..5b61dd7b6063be2aae1622b12f0208959969c393 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.cc |
+++ b/content/renderer/browser_plugin/browser_plugin.cc |
@@ -556,15 +556,15 @@ bool BrowserPlugin::setComposition( |
bool BrowserPlugin::confirmComposition( |
const blink::WebString& text, |
- blink::WebWidget::ConfirmCompositionBehavior selectionBehavior) { |
+ blink::WebWidget::ConfirmCompositionBehavior selection_behavior, |
+ int relative_cursor_pos) { |
if (!attached()) |
return false; |
- bool keep_selection = (selectionBehavior == blink::WebWidget::KeepSelection); |
+ bool keep_selection = (selection_behavior == blink::WebWidget::KeepSelection); |
BrowserPluginManager::Get()->Send( |
new BrowserPluginHostMsg_ImeConfirmComposition( |
- browser_plugin_instance_id_, |
- text.utf8(), |
- keep_selection)); |
+ browser_plugin_instance_id_, text.utf8(), keep_selection, |
+ relative_cursor_pos)); |
// TODO(kochi): This assumes the IPC handling always succeeds. |
return true; |
} |