Fix misc ScopedFeatureList usage (1/8)
ScopedFeatureList is unsafe to use after browser threads have been started. This constraint will imminently be enforced by DCHECK to prevent further erroneous usage from landing. This CL corrects usage within media, geolocation, and permissions related code. This is split from a larger CL where in some rare cases, correction was too complex to resolve before landing the DCHECK, so corresponding test(s) may be disabled instead of fixed. Bug: 846380 Change-Id: I48856217d97c1b5d0acf44c4b36ebb138a3beee8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1850731Reviewed-by:Tim Volodine <timvolodine@chromium.org> Reviewed-by:
Mounir Lamouri <mlamouri@chromium.org> Reviewed-by:
Xiaohan Wang <xhwang@chromium.org> Reviewed-by:
Balazs Engedy <engedy@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#705221}
Showing
Please register or sign in to comment