summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
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();