summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp')
-rw-r--r--Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp b/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp
index 0c0f2d7..f7c4edc 100644
--- a/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp
+++ b/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp
@@ -109,7 +109,7 @@ void PopupMenuQt::show(const IntRect& rect, FrameView* view, int index)
if (QtFallbackWebPopup* fallback = qobject_cast<QtFallbackWebPopup*>(m_popup)) {
QRect geometry(rect);
- geometry.moveTopLeft(view->contentsToWindow(rect.topLeft()));
+ geometry.moveTopLeft(view->contentsToWindow(rect.location()));
fallback->setGeometry(geometry);
fallback->setFont(m_popupClient->menuStyle().font().font());
}