Only reset trailing_collapsible_space_ structure if it has value
The crash described in the issue 1132762 was caused by our rencet change in r811115, to ensure the trailing_collapsible_space_ structure is reset when the associated item_result changed. However, there was an error in the condition, so that we should ensure we only call the 'reset()' function when the Optional has value. Bug: 1132762, 1132811 Change-Id: I73d10c309162649e143cd66ff7702c4ac7e5eed2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435388 Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#811288}
Showing
Please register or sign in to comment