Index: base/debug/stack_trace_posix.cc |
diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc |
index 29c07f80155a000e47c486c5cd6c970562b9750e..d717972d82a34849856b979c52720681e0c8ef19 100644 |
--- a/base/debug/stack_trace_posix.cc |
+++ b/base/debug/stack_trace_posix.cc |
@@ -86,7 +86,7 @@ void DemangleSymbols(std::string* text) { |
// Try to demangle the mangled symbol candidate. |
int status = 0; |
- scoped_ptr_malloc<char> demangled_symbol( |
+ scoped_ptr<char, base::FreeDeleter> demangled_symbol( |
abi::__cxa_demangle(mangled_symbol.c_str(), NULL, 0, &status)); |
if (status == 0) { // Demangling is successful. |
// Remove the mangled symbol. |