ios: Fix crash in RestoreItemsState.
GetNavigationItemImplAtIndex() appears to return a nil |cached_item| sometimes, perhaps due to a mismatch in WKWebView's backForwardList. Returning early when this happens in RestoreItemsState() may break some restore state features, but should not put the user in a broken state. Bug: 1134096 Change-Id: I47a2f1316375860b223fa988e7aca9e4557057d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454291Reviewed-by:Ali Juma <ajuma@chromium.org> Reviewed-by:
Gauthier Ambard <gambard@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#815204}
Showing
Please register or sign in to comment