summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.cc')
-rw-r--r--chrome/browser/renderer_host/render_view_host.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index e4dbb77..7e2a579 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -986,15 +986,14 @@ void RenderViewHost::OnMsgDidDownloadImage(
delegate_->DidDownloadImage(this, id, image_url, errored, image);
}
-void RenderViewHost::OnMsgContextMenu(
- const ViewHostMsg_ContextMenu_Params& params) {
+void RenderViewHost::OnMsgContextMenu(const ContextMenuParams& params) {
RenderViewHostDelegate::View* view = delegate_->GetViewDelegate();
if (!view)
return;
// Validate the URLs in |params|. If the renderer can't request the URLs
// directly, don't show them in the context menu.
- ViewHostMsg_ContextMenu_Params validated_params(params);
+ ContextMenuParams validated_params(params);
const int renderer_id = process()->host_id();
RendererSecurityPolicy* policy = RendererSecurityPolicy::GetInstance();