Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index b63e42f97ae449665f31b6d4dd9aa7dda3e85098..4759476e4d89231d134de32523cb463050ccf66a 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1327,9 +1327,9 @@ void RenderFrameHostImpl::OnContextMenu(const ContextMenuParams& params) { |
// It is necessary to transform the coordinates to account for nested |
// RenderWidgetHosts, such as with out-of-process iframes. |
gfx::Point original_point(validated_params.x, validated_params.y); |
- gfx::Point transformed_point = original_point; |
- static_cast<RenderWidgetHostViewBase*>(GetView()) |
- ->TransformPointToRootCoordSpace(original_point, &transformed_point); |
+ gfx::Point transformed_point = |
+ static_cast<RenderWidgetHostViewBase*>(GetView()) |
+ ->TransformPointToRootCoordSpace(original_point); |
validated_params.x = transformed_point.x(); |
validated_params.y = transformed_point.y(); |