diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/wtf/hash_table.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/wtf/hash_table.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/platform/wtf/hash_table.cc b/chromium/third_party/blink/renderer/platform/wtf/hash_table.cc index c191d951ba1..dce719be4e2 100644 --- a/chromium/third_party/blink/renderer/platform/wtf/hash_table.cc +++ b/chromium/third_party/blink/renderer/platform/wtf/hash_table.cc @@ -37,10 +37,10 @@ HashTableStats& HashTableStats::instance() { } void HashTableStats::copy(const HashTableStats* other) { - numAccesses = other->numAccesses; - numRehashes = other->numRehashes; - numRemoves = other->numRemoves; - numReinserts = other->numReinserts; + numAccesses = other->numAccesses.load(std::memory_order_relaxed); + numRehashes = other->numRehashes.load(std::memory_order_relaxed); + numRemoves = other->numRemoves.load(std::memory_order_relaxed); + numReinserts = other->numReinserts.load(std::memory_order_relaxed); maxCollisions = other->maxCollisions; numCollisions = other->numCollisions; |