Chromium Code Reviews
DescriptionMake GetEncryptionKey thread-safe
The current implementation of |GetEncryptionKey()| is thread-unsafe, resulting
in a flaky unit test. This change fixes this issue by making the lock a
|LazyInstance| instead of static.
BUG=656926
R=cfroussios@chromium.org
Committed: https://crrev.com/e9fc2e0c783274f4edd3adb175edf39d2ea8327b
Cr-Commit-Position: refs/heads/master@{#429547}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|
|||||||||||||||||||