Chromium Code Reviews| Index: content/browser/browser_plugin/browser_plugin_guest.cc |
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
| index 4114d6535131c6b5b97f4c115020c1b58ea88c4e..d1cf895f4b98ca3fe606a242c8b8f858300f3f54 100644 |
| --- a/content/browser/browser_plugin/browser_plugin_guest.cc |
| +++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
| @@ -890,8 +890,8 @@ void BrowserPluginGuest::OnExecuteEditCommand(int browser_plugin_instance_id, |
| if (!focused_frame) |
| return; |
| - focused_frame->Send(new InputMsg_ExecuteNoValueEditCommand( |
| - focused_frame->GetRoutingID(), name)); |
| + focused_frame->GetFrameInputHandler()->ExecuteEditCommand( |
| + name, base::Optional<std::string>()); |
|
dcheng
2017/05/17 04:49:06
Or just nullopt
dtapuska
2017/05/17 17:08:07
Done.
|
| } |
| void BrowserPluginGuest::OnImeSetComposition( |
| @@ -923,7 +923,7 @@ void BrowserPluginGuest::OnExtendSelectionAndDelete( |
| RenderFrameHostImpl* rfh = static_cast<RenderFrameHostImpl*>( |
| web_contents()->GetFocusedFrame()); |
| if (rfh) |
| - rfh->ExtendSelectionAndDelete(before, after); |
| + rfh->GetFrameInputHandler()->ExtendSelectionAndDelete(before, after); |
| } |
| void BrowserPluginGuest::OnLockMouse(bool user_gesture, |