64080bbc1a
There is a possible race in which NetworkChangeNotifier::test_notifications_only_ might be read on one thread while being written on another. This CL fixes that by making the variable static and only allowing writes to it before the NetworkChangeNotifier is created (before other things might try to read it). BUG=454652 Review URL: https://codereview.chromium.org/1255263002 Cr-Original-Commit-Position: refs/heads/master@{#341354} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e160f6be485deabcb4725d7e3623ae18ef5aee48 |
||
---|---|---|
.. | ||
BUILD.gn | ||
OWNERS | ||
asan_suppressions.cc | ||
lsan_suppressions.cc | ||
sanitizer_options.cc | ||
sanitizers.gyp | ||
tsan_suppressions.cc |