Fix use-after-free due to SiteEngagementService background thread activity.
This CL: - stops recording site engagement metrics at startup - passes a scoped_refptr to HostContentSettingsMap in a background thread call to query the content settings. This addresses a use-after-free due to the HostContentSettingsMap being freed before the background thread execution completes. BUG=901287 Change-Id: I7a1cd46a4628da490387aa98a7fc383ae5a5adb3 Reviewed-on: https://chromium-review.googlesource.com/c/1322339Reviewed-by:calamity <calamity@chromium.org> Commit-Queue: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#606332}
Showing
Please register or sign in to comment