| Index: webkit/glue/context_menu_client_impl.cc
|
| ===================================================================
|
| --- webkit/glue/context_menu_client_impl.cc (revision 7349)
|
| +++ webkit/glue/context_menu_client_impl.cc (working copy)
|
| @@ -144,6 +144,14 @@
|
| WebCore::IntPoint menu_point =
|
| selected_frame->view()->contentsToWindow(r.point());
|
|
|
| + // Adjust for any page zoom.
|
| + if (selected_frame->pageZoomFactor() != 1.0f) {
|
| + float zoom_factor = selected_frame->pageZoomFactor();
|
| + menu_point.setX(static_cast<int>(menu_point.x() * zoom_factor));
|
| + menu_point.setY(static_cast<int>(menu_point.y() * zoom_factor));
|
| + r = selected_frame->eventHandler()->hitTestResultAtPoint(menu_point, false);
|
| + }
|
| +
|
| ContextNode::Type type = ContextNode::NONE;
|
|
|
| // Links, Images and Image-Links take preference over all else.
|
|
|