Convert LineEndpointComputationMode to template parameter in EndPositionForLine()
This patch changes |LineEndpointComputationMode| parameter to template parameter in |EndPositionForLine()| to avoid runtime checking of parameter and remove unused enum |LineEndpointComputationMode|. The patch[1] does same thing for |StartPositionForLine()|. [1] http://crrev.com/c/882791 Convert LineEndpointComputationMode to template parameter in StartPositionForLine() Change-Id: I325faeeeac8abc3fb971221de047e09f4ffb2341 Reviewed-on: https://chromium-review.googlesource.com/882531 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#531806}
Showing
Please register or sign in to comment