Correct usage of text iterator in idle time spellchecker
Idle time spell checker used to assume that TextIterator::advance() is no-op when the iterator is already at end, which is incorrect. This patch fixes the issue by adding |atEnd()| checks. Note: When at end, TextIterator::advance() should be no-op but is not. See crbug.com/699747 BUG=679616 TEST=compositing/overflow/do-not-paint-outline-into-composited-scrolling-contents.html Review-Url: https://codereview.chromium.org/2734393003 Cr-Commit-Position: refs/heads/master@{#455654}
Showing
Please register or sign in to comment