Use FrameSelection for SetMark in Editor class
SetMark caches the VisibleSelection and is always set by FrameSelection::ComputeVisibleSelectionInDOMTreeDeprecated. So instead of passing VisibleSelection, this CL passes FrameSelection, and then compute the visible selection at call site. With this, it also prepares for the movement of is_directional_ to FrameSelection. Bug: 740804 Change-Id: I0e7a27af4d926ae0c68f15fbba612cb7d9a5f268 Reviewed-on: https://chromium-review.googlesource.com/766027Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com> Cr-Commit-Position: refs/heads/master@{#517048}
Showing
Please register or sign in to comment