From 7d0f9445f4ffb50dc1d72bc2f5ce329ccfec7cad Mon Sep 17 00:00:00 2001 From: "deanm@google.com" Date: Mon, 25 Aug 2008 13:54:18 +0000 Subject: Make PlatformThread::SetName operate only on the current thread. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1306 0039d316-1c4b-4281-b951-d872f2087c98 --- base/watchdog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/watchdog.cc') diff --git a/base/watchdog.cc b/base/watchdog.cc index 96dd9b9..06ab871 100644 --- a/base/watchdog.cc +++ b/base/watchdog.cc @@ -135,7 +135,7 @@ unsigned Watchdog::Run() { void Watchdog::SetThreadName() const { std::string name = StringPrintf("%s Watchdog", WideToASCII(thread_watched_name_).c_str()); - PlatformThread::SetName(thread_id_, name.c_str()); + PlatformThread::SetName(name.c_str()); DLOG(INFO) << "Watchdog active: " << name; } -- cgit v1.1