Make SelectionController::SelectClosestWordOrLinkFromMouseEvent() not to use VisibleSelection
This patch changes |SelectionControlle::SelectClosestWordOrLinkFromMouseEvent()| to use |SelectionInFlatTree| instead of |VisibleSelection| since it is redundant, for improving code health. This is follow-up of the patch[1]. [1] http://crrev.com/c/595309: Make ExpandSelectionToRespectUserSelectAll() to take SelectionInFlatTree Bug: 657237 Change-Id: I4fb3c71c27f3b32322311724a99a44f61376b5ec Reviewed-on: https://chromium-review.googlesource.com/597091Reviewed-by:Yoichi Osato <yoichio@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#491330}
Showing
Please register or sign in to comment