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

Unified Diff: base/sys_info_posix.cc

Issue 18622: POSIX: Porting renderer/render_process.cc, low hanging fruit (Closed)
Patch Set: Created 11 years, 11 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
« no previous file with comments | « base/sys_info.h ('k') | base/sys_info_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_posix.cc
diff --git a/base/sys_info_posix.cc b/base/sys_info_posix.cc
index b39457d1b9f4bd0ccc438227b4610fcbd4670210..9ea3cab36b74cb7ea05d904689d56287868b5e14 100644
--- a/base/sys_info_posix.cc
+++ b/base/sys_info_posix.cc
@@ -129,4 +129,9 @@ int SysInfo::DisplayCount() {
return 1;
}
+// static
+size_t SysInfo::VMAllocationGranularity() {
+ return getpagesize();
+}
+
} // namespace base
« no previous file with comments | « base/sys_info.h ('k') | base/sys_info_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698