Commit 4f00c1b5 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Fix windows build.

TBR=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/528993003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23618 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7d0d0100
......@@ -21,6 +21,7 @@
#include "src/base/win32-headers.h"
#include "src/base/bits.h"
#include "src/base/lazy-instance.h"
#include "src/base/macros.h"
#include "src/base/platform/platform.h"
......@@ -700,7 +701,7 @@ static size_t GetPageSize() {
if (page_size == 0) {
SYSTEM_INFO info;
GetSystemInfo(&info);
page_size = RoundUpToPowerOf2(info.dwPageSize);
page_size = base::bits::RoundUpToPowerOfTwo32(info.dwPageSize);
}
return page_size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment