Index: base/debug/stack_trace_posix.cc |
diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc |
index ae40d7c9c13ca4921dc1f15ede8685b8e2e3060e..25acbe0b687f423c9d36150e2548e32a0c660f6c 100644 |
--- a/base/debug/stack_trace_posix.cc |
+++ b/base/debug/stack_trace_posix.cc |
@@ -343,7 +343,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* info, void* void_context) { |
const int kRegisterPadding = 16; |
#endif |
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(registers); i++) { |
+ for (size_t i = 0; i < arraysize(registers); i++) { |
PrintToStderr(registers[i].label); |
internal::itoa_r(registers[i].value, buf, sizeof(buf), |
16, kRegisterPadding); |