diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/debug/stack_trace_posix.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc index 75dd10d..163f471 100644 --- a/base/debug/stack_trace_posix.cc +++ b/base/debug/stack_trace_posix.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -25,8 +25,6 @@ #include <AvailabilityMacros.h> #endif -#include <iostream> - #include "base/basictypes.h" #include "base/eintr_wrapper.h" #include "base/logging.h" @@ -170,7 +168,7 @@ void StackTrace::PrintBacktrace() const { std::vector<std::string> trace_strings; GetBacktraceStrings(trace_, count_, &trace_strings, NULL); for (size_t i = 0; i < trace_strings.size(); ++i) { - std::cerr << "\t" << trace_strings[i] << "\n"; + fprintf(stderr, "\t%s\n", trace_strings[i].c_str()); } } |