Make DragController::CanProcessDrag() to pass point in frame to HitTestResult::IsSelected()
This patch changes |DragController::CanProcessDrag()| to pass point in frame to |HitTestResult::IsSelected(point_in_frame)| instead of point in root, because |HitTestResult::IsSelected()| calls |LayoutView::HitTest()| which takes point in frame. The change of "fast/lists/drag-into-marker.html" verifies this code change. Change-Id: Ic95b16692fa73ea42ce62acac1fc868efd54a436 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2251607 Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#780175}
Showing
Please register or sign in to comment