[Custom passphrase] Moving ScopedFeatureList out of the test body

This CL addresses a TSan failure that occurs when the global
g_feature_list_instance is changed after some parts of Chrome has been
initialized (and have accessed the previous g_feature_list_instance via
FeatureList::IsEnabled()). Thus, this CL removed the use of
ScopedFeatureList from the test body (where possible).

Bug: 915219
Change-Id: I8c442c1c7dcbc7e7086daa41fc4dcc4919e84339
Reviewed-on: https://chromium-review.googlesource.com/c/1411930
Reviewed-by: Marc Treib <treib@chromium.org>
Commit-Queue: Jan Krcal <jkrcal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#623195}
1 file changed