Move setup of base::test::ScopedFeatureList earlier, to avoid data race.

base::test::ScopedFeatureList has to be setup before
content::BrowserTestBase::SetUp calls content::ContentMain
(because the latter spawns other threads that might start reading
the global state of features).

BUG=722409
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2879293002
Cr-Commit-Position: refs/heads/master@{#471911}


CrOS-Libchrome-Original-Commit: 0b772bacda31df9e862388f4859f1d56d3d217ae
1 file changed
tree: c9d89ed90b876182f4f8c11037f82029877e8dee
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/