Make SetSelectionToDragCaret() to take SelectionInDOMTree
This patch changes |SetSelectionToDragCaret()| to take |SelectionInDOMTree| instead of |VisibleSelection&| since it uses |SelectionInDOMTree| and output parameter isn't used in caller for improving code health. This is 1/3 of series of patches: 1. This patch 2. http://crrev.com/c/1153070 3. http://crrev.com/c/1153071 Bug: 657237 Change-Id: If01c9f465cbf5e5a940d1e9c30af8080a5496527 Reviewed-on: https://chromium-review.googlesource.com/1153069Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#579002}
Showing
Please register or sign in to comment