commit | d7658fd0442cce20cb16ada469d812a94655270a | [log] [tgz] |
---|---|---|
author | eugenebut <[email protected]> | Sat Jan 14 00:00:44 2017 |
committer | Commit bot <[email protected]> | Sat Jan 14 00:00:44 2017 |
tree | 0ecd5479942dcc45e3c33f7d2febb67b91be68da | |
parent | 828b1fae0b84215fdc1793a1a25ea3dd09d7bd2d [diff] |
[ios] Made goToItemAtIndex: safe for release builds. Changed -[CRWWebController goToItemAtIndex:] to make no-op on release if index is out of bound. This fully mirrors NavigationControllerImpl::GoToIndex, which calls NOTREACHED() and early returns for out of bounds indices. BUG=677160 Review-Url: https://codereview.chromium.org/2628133003 Cr-Commit-Position: refs/heads/master@{#443732}