| Index: base/debug/stack_trace_posix.cc
|
| diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc
|
| index d717972d82a34849856b979c52720681e0c8ef19..83ca78aaff173ada255b18423fef9ee03d80a072 100644
|
| --- a/base/debug/stack_trace_posix.cc
|
| +++ b/base/debug/stack_trace_posix.cc
|
| @@ -151,7 +151,8 @@ void ProcessBacktrace(void *const *trace,
|
| // Below part is async-signal unsafe (uses malloc), so execute it only
|
| // when we are not executing the signal handler.
|
| if (in_signal_handler == 0) {
|
| - scoped_ptr_malloc<char*> trace_symbols(backtrace_symbols(trace, size));
|
| + scoped_ptr<char*, FreeDeleter>
|
| + trace_symbols(backtrace_symbols(trace, size));
|
| if (trace_symbols.get()) {
|
| for (int i = 0; i < size; ++i) {
|
| std::string trace_symbol = trace_symbols.get()[i];
|
|
|