Refactor CachingWordShapeIterator::nextWordEndIndex
This patch refactors CachingWordShapeIterator::nextWordEndIndex so that: 1. Better readability. 2. Split 3 cases into 3 different loops to make it possible to identify the loop from the stack trace. BUG=639085 Review-Url: https://codereview.chromium.org/2263083002 Cr-Commit-Position: refs/heads/master@{#413463}
Showing
Please register or sign in to comment