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

Unified Diff: components/memory_pressure/direct_memory_pressure_calculator_linux.cc

Issue 2181493002: Return unique_ptrs from base::ProcessMetrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove os_resource_win.* Created 4 years, 5 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: components/memory_pressure/direct_memory_pressure_calculator_linux.cc
diff --git a/components/memory_pressure/direct_memory_pressure_calculator_linux.cc b/components/memory_pressure/direct_memory_pressure_calculator_linux.cc
index cb548ad921e2197a6ba0a92d2e9101227aad740c..f05a4b2ac4c54dfc11fab6b2e173ca9f0a42481a 100644
--- a/components/memory_pressure/direct_memory_pressure_calculator_linux.cc
+++ b/components/memory_pressure/direct_memory_pressure_calculator_linux.cc
@@ -11,7 +11,7 @@ namespace memory_pressure {
namespace {
-static const int kKiBperMiB = 1024;
+const int kKiBperMiB = 1024;
int GetAvailableSystemMemoryMiB(const base::SystemMemoryInfoKB* mem_info) {
// How much system memory is actively available for use right now, in MBs.

Powered by Google App Engine
This is Rietveld 408576698