| Index: base/allocator/winheap_stubs_win.cc
|
| diff --git a/base/allocator/winheap_stubs_win.cc b/base/allocator/winheap_stubs_win.cc
|
| index 42f40dc8ad4cd48aa9ceb75d8a46b98981300fab..7298bb9411ad3601df13ce512b6f20281f4756a9 100644
|
| --- a/base/allocator/winheap_stubs_win.cc
|
| +++ b/base/allocator/winheap_stubs_win.cc
|
| @@ -13,8 +13,6 @@
|
| #include <new.h>
|
| #include <windows.h>
|
|
|
| -#include "base/bits.h"
|
| -
|
| namespace base {
|
| namespace allocator {
|
|
|
| @@ -71,7 +69,7 @@ size_t WinHeapGetSizeEstimate(void* ptr) {
|
| const size_t kAllocationGranularity = 8;
|
| #endif
|
|
|
| - return base::bits::Align(size, kAllocationGranularity);
|
| + return (size + kAllocationGranularity - 1) & ~(kAllocationGranularity - 1);
|
| }
|
|
|
| // Call the new handler, if one has been set.
|
|
|