Index: content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm b/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm |
index 3d19ced3ad979af326f7f5fd2becefe5754188ff..2effdd3153fbbdee4f5b503a93958536d2b2f532 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm |
@@ -137,8 +137,9 @@ void EditCommandImp(id self, SEL _cmd, id sender) { |
renderWidgetHostViewMac]; |
DCHECK(rwhv); |
+ RenderWidgetHostImpl* rwh = |
+ RenderWidgetHostImpl::From(rwhv->GetRenderWidgetHost()); |
// The second parameter is the core command value which isn't used here. |
- RenderWidgetHostImpl* rwh = RenderWidgetHostImpl::FromRWHV(rwhv); |
rwh->ExecuteEditCommand(command, ""); |
} |