Index: components/memory_pressure/direct_memory_pressure_calculator_win.cc |
diff --git a/components/memory_pressure/direct_memory_pressure_calculator_win.cc b/components/memory_pressure/direct_memory_pressure_calculator_win.cc |
index f393b7cf54ff952d75d23e1803adf0a86aa59ca4..48ae41e6477f4cf596c45bbab4eb1e6e91b3643c 100644 |
--- a/components/memory_pressure/direct_memory_pressure_calculator_win.cc |
+++ b/components/memory_pressure/direct_memory_pressure_calculator_win.cc |
@@ -65,7 +65,7 @@ DirectMemoryPressureCalculator::CalculateCurrentPressureLevel() { |
return MemoryPressureListener::MEMORY_PRESSURE_LEVEL_NONE; |
// How much system memory is actively available for use right now, in MBs. |
- int phys_free = mem_info.free / kKBperMB; |
+ int phys_free = mem_info.avail_phys / kKBperMB; |
// TODO(chrisha): This should eventually care about address space pressure, |
// but the browser process (where this is running) effectively never runs out |