Ensure ICU initialization via net_fuzzer_test_support.
The first time I was notified about ICU not being initialized, it was for the first_party_sets_parser_json_fuzzer target, which makes sense because that target did not depend on net_fuzzer_test_support, so ICU didn't get initialized for it. But when I added the manual initialization to both fuzzers, now the first_party_set_parser_fuzzer had ICU initialized twice. This could also be fixed by calling AllowMultipleInitializeCallsForTesting, but it's neater to just remove the manual initializations for both fuzzers and add the dependency to the JSON fuzzer. Bug: 1146783 Change-Id: I4f3c81ca0cf662010db3e159e226b13e09a55b8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2526907 Commit-Queue: Chris Fredrickson <cfredric@chromium.org> Reviewed-by:Eric Orth <ericorth@chromium.org> Reviewed-by:
Dan McArdle <dmcardle@chromium.org> Cr-Commit-Position: refs/heads/master@{#825496}
Showing
Please register or sign in to comment