| 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 93947fdeeb898165dccdcdfaf2d70e7648deadf8..973f2d1499b0a91f829fb1f59819153a5aaae5fc 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -541,15 +541,15 @@ bool BrowserPlugin::setComposition(
|
|
|
| bool BrowserPlugin::confirmComposition(
|
| const blink::WebString& text,
|
| - blink::WebWidget::ConfirmCompositionBehavior selectionBehavior) {
|
| + blink::WebWidget::ConfirmCompositionBehavior selection_behavior,
|
| + int new_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,
|
| + new_cursor_pos));
|
| // TODO(kochi): This assumes the IPC handling always succeeds.
|
| return true;
|
| }
|
|
|