[Win] Popup menus have incorrect placement when device scale factor != 1.
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Aug 2015 17:15:51 +0000 (17:15 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Aug 2015 17:15:51 +0000 (17:15 +0000)
commit0d3b7b98563c152d2fa8bfd4fa2f668796b9135e
tree75cb016d57fbd7dd6b60d0201fcc6a6c5e448493
parent87772d9e7e177ff5e686c970e9921016697b464b
[Win] Popup menus have incorrect placement when device scale factor != 1.
https://bugs.webkit.org/show_bug.cgi?id=147880

Reviewed by Brent Fulgham.

We need to take the device scaling factor into account when calculating
the position and size of the popup menu.

* platform/win/PopupMenuWin.cpp:
(WebCore::PopupMenuWin::calculatePositionAndSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/win/PopupMenuWin.cpp