Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1285)

Unified Diff: base/memory/memory_pressure_monitor_chromeos.cc

Issue 2097753002: Make memory pressure notifier configurable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/memory/memory_pressure_monitor_chromeos.cc
diff --git a/base/memory/memory_pressure_monitor_chromeos.cc b/base/memory/memory_pressure_monitor_chromeos.cc
index 2d0b0a62fc6d7c1dbbb77aa98f06132d5f93a966..1629bd5d7975d282919ffe2ab7e5939d7d66f669 100644
--- a/base/memory/memory_pressure_monitor_chromeos.cc
+++ b/base/memory/memory_pressure_monitor_chromeos.cc
@@ -230,7 +230,7 @@ void MemoryPressureMonitor::CheckMemoryPressure() {
return;
}
moderate_pressure_repeat_count_ = 0;
- MemoryPressureListener::NotifyMemoryPressure(current_memory_pressure_level_);
+ Notify(current_memory_pressure_level_);
}
// Gets the used ChromeOS memory in percent.

Powered by Google App Engine
This is Rietveld 408576698