Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac_editcommand_helper.mm

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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, "");
}

Powered by Google App Engine
This is Rietveld 408576698