DescriptionRefactor NextLeafWithSameEditability()
This patch converts while-loop to for-loop in |NextLeafWithSameEditability()| to
avoid modifying parameter for improving code health.
This patch is similar to the patch[1] which does same thing for
|PreviousLeafWithSameEditability()|.
[1] http://crrev.com/2942833002: Refactor PreviousLeafWithSameEditability()
BUG=n/a
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2940053003
Cr-Commit-Position: refs/heads/master@{#479653}
Committed: https://chromium.googlesource.com/chromium/src/+/0a65645aefacca68fa02d16bd41c57f0dbd5aed3
Patch Set 1 : 2017-06-15T16:53:53 #
Messages
Total messages: 13 (9 generated)
|