Search Engines: Fix crash in TemplateURLService::UpdateProviderFavicons
Previously we could crash, because within this method, we iterate over a collection and update its elements, and subsequently invalidate the very collection we are iterating over. This CL fixes it. pbos@ provided the diagnosis. Bug: 846406 Change-Id: Ibeadddfaef2e7a3700b9b9fae6143892aee10af1 Reviewed-on: https://chromium-review.googlesource.com/1072189Reviewed-by:Peter Kasting <pkasting@chromium.org> Commit-Queue: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#561646}
Showing
Please register or sign in to comment