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
This commit is contained in:
parent
7d0d01005c
commit
4f00c1b500
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user