Update ShapeResult::start_index_ when there are no runs
This patch updates |start_index_| when there are no runs, because it is generally done when a new run is inserted. This is a speculative fix. While I hit a DCHECK because of uninitialized |start_index_| once, I cannot reproduce consistently, nor in unit tests using the string I hit in the debugger on http://switchsoku.com/soft/splatoon2/28757 . Bug: 896456 Change-Id: I6b1f65e770ebe7e8d2156a9056d7e57666d61d31 Reviewed-on: https://chromium-review.googlesource.com/c/1304276Reviewed-by:Emil A Eklund <eae@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#603645}
Showing
Please register or sign in to comment