[omnibox] Fix match deletion for ZeroSuggest cached REMOTE_NO_URL
I broke match deletion in the presence of caching REMOTE_NO_URL here: https://chromium-review.googlesource.com/c/chromium/src/+/2430227/9/components/omnibox/browser/zero_suggest_provider.cc This CL fixes it by aggressively clearing the cache any time a ZeroSuggest match is deleted, regardless of the request type. I think this CL will fix the bug and it's harmless to "overaggressively" clear the cache. Match deletions are rare, and it's just a cache. Bug: 1136609 Change-Id: Ia8c39975bc68e0c33dccf9c08c630935e29abb2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462342Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Commit-Queue: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#815391}
Showing
Please register or sign in to comment