From 0f5178dcbaf72d0ff9956235c93b381c33b7cb1c Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Mon, 29 Jul 2013 08:07:52 +0000 Subject: [PATCH] Fix break in r15919. TBR=svenpanne@chromium.org Review URL: https://codereview.chromium.org/21029003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15920 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/platform-win32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform-win32.cc b/src/platform-win32.cc index 68c6009..6e50c3e 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); } } -- 2.7.4