Index: util/file/file_io_test.cc |
diff --git a/util/file/file_io_test.cc b/util/file/file_io_test.cc |
index 2c5f96c41be34e1cf7de0eed30f14b596b9378f5..f91cde5ba3bab8ea9f8b0bce9c9b691bd765e125 100644 |
--- a/util/file/file_io_test.cc |
+++ b/util/file/file_io_test.cc |
@@ -178,7 +178,7 @@ void LockingTest(FileLocking main_lock, FileLocking other_locks) { |
} |
base::subtle::Atomic32 result = |
- base::subtle::Release_Load(&actual_iterations); |
+ base::subtle::NoBarrier_Load(&actual_iterations); |
EXPECT_EQ(0, result); |
ASSERT_TRUE(LoggingUnlockFile(initial.get())); |
@@ -186,7 +186,7 @@ void LockingTest(FileLocking main_lock, FileLocking other_locks) { |
for (auto& t : threads) |
t.Join(); |
- result = base::subtle::Release_Load(&actual_iterations); |
+ result = base::subtle::NoBarrier_Load(&actual_iterations); |
EXPECT_EQ(expected_iterations, result); |
} |