diff options
Diffstat (limited to 'base/mac/scoped_mach_vm.h')
-rw-r--r-- | base/mac/scoped_mach_vm.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/base/mac/scoped_mach_vm.h b/base/mac/scoped_mach_vm.h index b130a79..ffc00d5 100644 --- a/base/mac/scoped_mach_vm.h +++ b/base/mac/scoped_mach_vm.h @@ -48,10 +48,9 @@ namespace mac { class BASE_EXPORT ScopedMachVM { public: explicit ScopedMachVM(vm_address_t address = 0, vm_size_t size = 0) - : address_(address), - size_(size) { - DCHECK(address % PAGE_SIZE == 0); - DCHECK(size % PAGE_SIZE == 0); + : address_(address), size_(size) { + DCHECK_EQ(address % PAGE_SIZE, 0u); + DCHECK_EQ(size % PAGE_SIZE, 0u); } ~ScopedMachVM() { |