Fix nullptr bug in clipboard provider and default search provider
The first occurrence was a bug, and now has an early return if the Default Search Provider is null. In the second occurrence, the default search provider was checked earlier, so I added a DCHECK at this use. Bug: 1011899 Change-Id: Iad7640d0b6666288e8ea94119b6f203a30800444 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847213Reviewed-by:Justin Donnelly <jdonnelly@chromium.org> Commit-Queue: Robbie Gibson <rkgibson@google.com> Cr-Commit-Position: refs/heads/master@{#703759}
Showing
Please register or sign in to comment