[go: nahoru, domu]

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

Unified Diff: base/worker_pool_linux.cc
Issue 339059: Add compiler-specific "examine printf format" attributes to printfs. (Closed)
Patch Set: cleanups Created 11 years, 1 month 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
Index: base/worker_pool_linux.cc
diff --git a/base/worker_pool_linux.cc b/base/worker_pool_linux.cc
index 31fcef18bbf06f6cfb19c769bdf11c511e72d50b..b9c85b3fb84b82f049e648e9bb6e3f16a2fe3b14 100644
--- a/base/worker_pool_linux.cc
+++ b/base/worker_pool_linux.cc
@@ -67,8 +67,7 @@ class WorkerThread : public PlatformThread::Delegate {
void WorkerThread::ThreadMain() {
const std::string name =
- StringPrintf("%s/%d", name_prefix_.c_str(),
- IntToString(PlatformThread::CurrentId()).c_str());
+ StringPrintf("%s/%d", name_prefix_.c_str(), PlatformThread::CurrentId());
PlatformThread::SetName(name.c_str());
for (;;) {

Powered by Google App Engine
This is Rietveld 408576698