diff --git a/src/base/debug/stack_trace.h b/src/base/debug/stack_trace.h index 9f5d7c05dd..9af94979c4 100644 --- a/src/base/debug/stack_trace.h +++ b/src/base/debug/stack_trace.h @@ -123,6 +123,9 @@ class BASE_EXPORT StackTrace { // prefix string prepended to each line. void OutputToStreamWithPrefix(std::ostream* os, const char* prefix_string) const; +#else + void OutputToStream(std::ostream* os) const; + void OutputToStreamWithPrefix(std::ostream*, const char*) const {} #endif // Resolves backtrace to symbols and returns as string.