| 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 e57bde68e4829cdaf80a02109f7ab186fcc6b4f7..eda53dcb5ab51bb6e42c606dbc2ff5d3fc50fd10 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();
|
|
|
|
|