Index: src/platform-win32.cc |
diff --git a/src/platform-win32.cc b/src/platform-win32.cc |
index 68c60096880d3589588c729b142965327c5deead..6e50c3e1e332ffa9656c46674db9054937efa6cd 100644 |
--- a/src/platform-win32.cc |
+++ b/src/platform-win32.cc |
@@ -925,7 +925,7 @@ static void* RandomizedVirtualAlloc(size_t size, int action, int protection) { |
if (protection == PAGE_EXECUTE_READWRITE || protection == PAGE_NOACCESS) { |
// For exectutable pages try and randomize the allocation address |
for (size_t attempts = 0; base == NULL && attempts < 3; ++attempts) { |
- base = VirtualAlloc(GetRandomAddr(), size, action, protection); |
+ base = VirtualAlloc(OS::GetRandomAddr(), size, action, protection); |
} |
} |