commit | 36323f0591ce6cceb8749c5e7d9d876e4eb8eae7 | [log] [tgz] |
---|---|---|
author | Xiyuan Xia <xiyuan@chromium.org> | Fri Dec 14 19:25:01 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 14 19:25:01 2018 |
tree | 72505ca2ba06bfffaaa6c0e79224ab07962d86ba | |
parent | b90d813df13132022b06a6b51b77b03365e6f2d5 [diff] |
app_list: Fix SearchResultView crash Fix the crash introduced in http://crrev.com/c/1351714 that deletes the search-what-you-type result when showing the answer card. The change to SearchResults model does not go through regular search results update code path. Hence not handled properly. The CL fixes the issue by making SearchResultView handle OnResultDestroying so that its internal state is updated whenever underlying SearchResult goes away. Bug: 914891 Change-Id: Idc17516865333114e47b218d17d3629f50657f4a Reviewed-on: https://chromium-review.googlesource.com/c/1378487 Reviewed-by: Alex Newcomer <newcomer@chromium.org> Commit-Queue: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#616782}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .