Description[TSAN] Fix data race with base::i18n text direction.
The global g_icu_text_direction could be read/written from
any thread that called base::i18n::IsRTL resulting in a data race.
Guard read/writes with a mutex.
BUG=695929
TEST=base_unittests
Review-Url: https://codereview.chromium.org/2716003002
Cr-Commit-Position: refs/heads/master@{#454108}
Committed: https://chromium.googlesource.com/chromium/src/+/d27e590ad6471e444e164597ee22a80c7801451d
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|