| 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 3731f8e833be2091a9f9ca69a279ec617b817079..71ceef4236626b0b821c628f79a9c303d5550229 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -531,7 +531,8 @@ bool BrowserPlugin::setComposition(
|
|
|
| bool BrowserPlugin::confirmComposition(
|
| const blink::WebString& text,
|
| - blink::WebWidget::ConfirmCompositionBehavior selectionBehavior) {
|
| + blink::WebWidget::ConfirmCompositionBehavior selectionBehavior,
|
| + int newCursorPosition) {
|
| if (!attached())
|
| return false;
|
| bool keep_selection = (selectionBehavior == blink::WebWidget::KeepSelection);
|
| @@ -539,7 +540,8 @@ bool BrowserPlugin::confirmComposition(
|
| new BrowserPluginHostMsg_ImeConfirmComposition(
|
| browser_plugin_instance_id_,
|
| text.utf8(),
|
| - keep_selection));
|
| + keep_selection,
|
| + newCursorPosition));
|
| // TODO(kochi): This assumes the IPC handling always succeeds.
|
| return true;
|
| }
|
|
|