Index: base/sys_info_win.cc |
diff --git a/base/sys_info_win.cc b/base/sys_info_win.cc |
index 4d52c4a9c85d603936b90718f0d164b58dec597a..7690e81a8ce33138554e2faae4bb7b89fc13956e 100644 |
--- a/base/sys_info_win.cc |
+++ b/base/sys_info_win.cc |
@@ -100,4 +100,12 @@ int SysInfo::DisplayCount() { |
return GetSystemMetrics(SM_CMONITORS); |
} |
+// static |
+size_t SysInfo::VMAllocationGranularity() { |
+ SYSTEM_INFO sysinfo; |
+ GetSystemInfo(&info); |
+ |
+ return info.dwAllocationGranularity; |
+} |
+ |
} // namespace base |