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 6889d05ef8585018faab282793967e7ed670d287..6ada3a64e145b5eb06c593128cc59d8be0ff7a7b 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.cc |
+++ b/content/renderer/browser_plugin/browser_plugin.cc |
@@ -571,10 +571,12 @@ bool BrowserPlugin::commitText(const blink::WebString& text, |
} |
bool BrowserPlugin::finishComposingText( |
- blink::WebWidget::ConfirmCompositionBehavior selection_behavior) { |
+ blink::WebInputMethodController::ConfirmCompositionBehavior |
+ selection_behavior) { |
if (!attached()) |
return false; |
- bool keep_selection = (selection_behavior == blink::WebWidget::KeepSelection); |
+ bool keep_selection = |
+ (selection_behavior == blink::WebInputMethodController::KeepSelection); |
BrowserPluginManager::Get()->Send( |
new BrowserPluginHostMsg_ImeFinishComposingText(keep_selection)); |
// TODO(kochi): This assumes the IPC handling always succeeds. |