Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Issue 2628133003: [ios] Made goToItemAtIndex: safe for release builds. (Closed)

Created:
3 years, 11 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 11 months ago
Reviewers:
kkhorimoto
CC:
chromium-reviews, marq+watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[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} Committed: https://chromium.googlesource.com/chromium/src/+/d7658fd0442cce20cb16ada469d812a94655270a

Patch Set 1 #

Patch Set 2 : Removed BVC changes #

Patch Set 3 : Fixed compilaiton #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
Eugene But (OOO till 7-30)
3 years, 11 months ago (2017-01-12 17:44:49 UTC) #5
kkhorimoto
lgtm
3 years, 11 months ago (2017-01-13 23:45:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628133003/40001
3 years, 11 months ago (2017-01-13 23:47:52 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-14 00:01:22 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d7658fd0442cce20cb16ada469d8...

Powered by Google App Engine
This is Rietveld 408576698