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..7de4d778d46b3bde05bf07471534cbafb1ec408c 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.available / kKBperMB; |
// TODO(chrisha): This should eventually care about address space pressure, |
// but the browser process (where this is running) effectively never runs out |