Improve readability of SelectionModifierCharacter
This patch improves the readability of the file by moving variable |line_layout_item| into the iteration body and making it const. The refactoring is correct because: - Every time |box| is modified, |line_layout_item| is modified accordingly - Every time |box| is modified, the iteration either breaks or continues Bug: 771398 Change-Id: I2a4eecc27870f33a0f16e50762742fff9811cda1 Reviewed-on: https://chromium-review.googlesource.com/1026801Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#553426}
Showing
Please register or sign in to comment