Add workaround to UrlBar scroll crash.
In some instances, the attempted scroll position is beyond the length of the URL. This crashes some versions of Android and hangs others. This caps the scroll position to the text length and adds some logging to attempt to catch this locally. BUG=859219 Change-Id: I7859d37ede741c5ce81d85df400cbe4bea2ccdeb Reviewed-on: https://chromium-review.googlesource.com/c/1332209Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#607672}
Showing
Please register or sign in to comment