Speculative fix for launcher search race condition.
There's a flaky DCHECK crash in launcher search, due to the query getting out of sync in the ranker vs the returned search results. This is caused by deeper problems, but this CL is a quick patch that should fix the immediate issue. Currently we don't update the most recent query if two searches happen in quick succession, even if the second search contains a genuinely new query. Let's fix that. Bug: 1109017 Change-Id: Iac78aef0dae6d4001fc0726ac0deb5ced9bd11aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2319949Reviewed-by:Jia Meng <jiameng@chromium.org> Commit-Queue: Tony Yeoman <tby@chromium.org> Cr-Commit-Position: refs/heads/master@{#792118}
Showing
Please register or sign in to comment