Check for null history service before building DomainDiversityReporter
This CL checks if the |history_service| is valid before it is used to build a DomainDiversityReporter. This is a guard against unexpected crashes in DomainDiversityReporter which always requires a valid history service. Bug: 1161727 Change-Id: Ie946abe755f7a32bf7b7173e3b146326459edcf5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611668Reviewed-by:Sergio Collazos <sczs@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Mark Pearson <mpearson@chromium.org> Commit-Queue: Mingjing Zhang <mjzhang@chromium.org> Cr-Commit-Position: refs/heads/master@{#841700}
Showing
Please register or sign in to comment