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

Unified Diff: base/process/process_metrics_win.cc

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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/process/process_metrics_win.cc
diff --git a/base/process/process_metrics_win.cc b/base/process/process_metrics_win.cc
index 16db44f63f6e94b51034817a3e1eb1c72c72eb68..1dd97e629cf4e74e93fb50f51a288c10bcccbd6c 100644
--- a/base/process/process_metrics_win.cc
+++ b/base/process/process_metrics_win.cc
@@ -284,4 +284,8 @@ size_t GetSystemCommitCharge() {
return (info.CommitTotal * system_info.dwPageSize) / 1024;
}
+size_t GetPageSize() {
+ return PAGESIZE_KB * 1024;
+}
+
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698