summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-25 13:54:18 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-25 13:54:18 +0000
commit7d0f9445f4ffb50dc1d72bc2f5ce329ccfec7cad (patch)
tree668755bb0e584a311f5c22e24f1c48e0e47d0c56 /chrome/browser/browser_main.cc
parent302bdc13a9baebb21894673e7674f4e0361cfe97 (diff)
downloadchromium_src-7d0f9445f4ffb50dc1d72bc2f5ce329ccfec7cad.zip
chromium_src-7d0f9445f4ffb50dc1d72bc2f5ce329ccfec7cad.tar.gz
chromium_src-7d0f9445f4ffb50dc1d72bc2f5ce329ccfec7cad.tar.bz2
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
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 8cf86fd7..b3357f0 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -246,7 +246,7 @@ int BrowserMain(CommandLine &parsed_command_line, int show_command,
// defined roles (e.g. pre/post-profile startup, etc).
const char* main_thread_name = "Chrome_BrowserMain";
- PlatformThread::SetName(PlatformThread::CurrentId(), main_thread_name);
+ PlatformThread::SetName(main_thread_name);
MessageLoop::current()->set_thread_name(main_thread_name);
bool already_running = CreateUniqueChromeEvent();