Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4635)

Unified Diff: base/debug/stack_trace_android.cc

Issue 693773003: Cleanup various includes and namespace references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/logging.h » ('j') | base/logging.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>");
Nico 2014/10/31 14:30:08 Out of interest, what happens without this? Writin
Fabrice (no longer in Chrome) 2014/10/31 15:45:23 Maybe it works with Clang and not GCC? I noticed t
Nico 2014/10/31 16:10:03 Oh, that's a good point. Works with gcc on my mac
Fabrice (no longer in Chrome) 2014/10/31 17:01:15 Yes, that was it, thanks!
}
- *os << "\n";
+ *os << std::string("\n");
}
}
« no previous file with comments | « no previous file | base/logging.h » ('j') | base/logging.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698