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

Unified Diff: base/sys_info_win.cc

Issue 1441853003: Make the new Mojo EDK work on XP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fixes Created 5 years, 1 month 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 | « no previous file | mojo/edk/embedder/platform_channel_pair_win.cc » ('j') | mojo/edk/system/core_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_win.cc
diff --git a/base/sys_info_win.cc b/base/sys_info_win.cc
index c8314c7a6a9bd34fb1491716a970d68157d200d0..4eccbd7db573c40e7dfa9f8f2303307b166fb2ec 100644
--- a/base/sys_info_win.cc
+++ b/base/sys_info_win.cc
@@ -48,7 +48,7 @@ int64 SysInfo::AmountOfAvailablePhysicalMemory() {
// static
int64 SysInfo::AmountOfVirtualMemory() {
- return 0;
+ return AmountOfMemory(&MEMORYSTATUSEX::ullTotalVirtual);
}
// static
« no previous file with comments | « no previous file | mojo/edk/embedder/platform_channel_pair_win.cc » ('j') | mojo/edk/system/core_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698