Index: util/mac/checked_mach_address_range.cc |
diff --git a/util/mac/checked_mach_address_range.cc b/util/mac/checked_mach_address_range.cc |
index 0f153a4d815f00b1d30b8a363df4c101360ccfdf..5fdabe36e492e883aad52a6d575400b4a887e2d8 100644 |
--- a/util/mac/checked_mach_address_range.cc |
+++ b/util/mac/checked_mach_address_range.cc |
@@ -16,7 +16,6 @@ |
#include "base/logging.h" |
#include "base/numerics/safe_conversions.h" |
-#include "util/mac/process_reader.h" |
namespace crashpad { |
@@ -25,16 +24,16 @@ CheckedMachAddressRange::CheckedMachAddressRange() |
} |
CheckedMachAddressRange::CheckedMachAddressRange( |
- const ProcessReader* process_reader, |
+ bool is_64_bit, |
mach_vm_address_t base, |
mach_vm_size_t size) { |
- SetRange(process_reader, base, size); |
+ SetRange(is_64_bit, base, size); |
} |
-void CheckedMachAddressRange::SetRange(const ProcessReader* process_reader, |
+void CheckedMachAddressRange::SetRange(bool is_64_bit, |
mach_vm_address_t base, |
mach_vm_size_t size) { |
- is_64_bit_ = process_reader->Is64Bit(); |
+ is_64_bit_ = is_64_bit; |
if (is_64_bit_) { |
range_64_.SetRange(base, size); |
range_ok_ = true; |