[omnibox] Fix LocalHistoryZeroSuggestProviderTest shutdown order
LocalHistoryZeroSuggestProviderTest uses a FakeAutocompleteProviderClient, but that class requires a very particular creation an destruction sequence. This CL fixes this problem, which was causing issues on ASAN bots. In the future we should fix the FakeAutocompleteProviderClient API to make it more obvious that it has special creation destruction requirements. Bug: 1010691 Change-Id: Ia5b11b548720fade377e1f9c573105213e71f975 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845991 Commit-Queue: Tommy Li <tommycli@chromium.org> Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#703427}
Showing
Please register or sign in to comment