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 8f26ef0690081c2eabc1add1f64474f37874be78..74cbda37272042531517b2b0bb5c7ffaad9c3fab 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -898,8 +898,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::nullopt); |
} |
void BrowserPluginGuest::OnImeSetComposition( |
@@ -931,7 +931,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, |