[search_engines] Protect DSE from removal by the SearchEngineTabHelper
Two weeks ago we added a CHECK to verify in production our assumption that the default search provider was never Remove()-ed. This turned out to be violated in SearchEngineTabHelper. This CL fixes that violation. We don't need to call Remove() from that tab helper anyways, since a call to Add() will remove duplicates if possible, and will preserve the DSE. Bug: 1166372 Change-Id: Ia3d145ddc457d901fbb81c94487cee28b2792cca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2637957Reviewed-by:Orin Jaworski <orinj@chromium.org> Commit-Queue: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#844883}
Showing
Please register or sign in to comment