Introduce TextIteratorTextState::GetTextForTesting() as replacement of Substring()
This patch introduces |TextIteratorTextState::GetTextForTesting()| as replacement of |Substring()|, because it is called only one place and it takes whole text, for improving code health. Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Id71f35c82c1906dfea9503a77506a6a437246bae Reviewed-on: https://chromium-review.googlesource.com/1125584Reviewed-by:Yoichi Osato <yoichio@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#572519}
Showing
Please register or sign in to comment