Index: components/memory_pressure/direct_memory_pressure_calculator_win_unittest.cc |
diff --git a/components/memory_pressure/direct_memory_pressure_calculator_win_unittest.cc b/components/memory_pressure/direct_memory_pressure_calculator_win_unittest.cc |
index c7c48e6f1998122b71bcb6dbc4d959f3bc601567..a8f0ec5aafceba34d08fdb66286d74b15037d462 100644 |
--- a/components/memory_pressure/direct_memory_pressure_calculator_win_unittest.cc |
+++ b/components/memory_pressure/direct_memory_pressure_calculator_win_unittest.cc |
@@ -59,8 +59,8 @@ class TestDirectMemoryPressureCalculator |
// |total| is set in the constructor and not modified. |
// Set the amount of free memory. |
- mem_info_.free = phys_left_mb * kKBperMB; |
- DCHECK_LT(mem_info_.free, mem_info_.total); |
+ mem_info_.avail_phys = phys_left_mb * kKBperMB; |
+ DCHECK_LT(mem_info_.avail_phys, mem_info_.total); |
} |
void SetNone() { SetMemoryFree(moderate_threshold_mb() + 1); } |