Index: base/debug/stack_trace_android.cc |
diff --git a/base/debug/stack_trace_android.cc b/base/debug/stack_trace_android.cc |
index c07f34a9957ac536eab7f4f50a4b9ad88898bfdd..98f7ad535ba15a489edc4cfd14ae52edf41e6eb9 100644 |
--- a/base/debug/stack_trace_android.cc |
+++ b/base/debug/stack_trace_android.cc |
@@ -117,10 +117,10 @@ void StackTrace::OutputToStream(std::ostream* os) const { |
const char* path = iter->path.c_str(); |
*os << base::StringPrintf("%s+" FMT_ADDR, path, rel_pc); |
} else { |
- *os << "<unknown>"; |
+ *os << std::string("<unknown>"); |
} |
- *os << "\n"; |
+ *os << std::string("\n"); |
} |
} |