Correct drag location
The |draggingLocation| of NSDraggingInfo is a point based on the NSWindow coordinate and it should be converted to gfx::Point using |contentRectForFrameRect:| instead of |frame| because the NSWindow may have title bar. Bug: 954019 Change-Id: I92e45aa5fb8aab07c2540cc97b5bd76e29e43a5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1573358Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Trent Apted <tapted@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#654804}
Showing
Please register or sign in to comment