Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index c56d426445c04239ed4cdbe4a5439a62eeda33b4..11072949dc7cb9b862bbab1b5ecf511b5f0a96cc 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1183,10 +1183,7 @@ void BrowserMainLoop::StopStartupTracingTimer() { |
void BrowserMainLoop::InitializeMainThread() { |
TRACE_EVENT0("startup", "BrowserMainLoop::InitializeMainThread"); |
- static const char kThreadName[] = "CrBrowserMain"; |
- base::PlatformThread::SetName(kThreadName); |
- if (main_message_loop_) |
- main_message_loop_->set_thread_name(kThreadName); |
+ base::PlatformThread::SetName("CrBrowserMain"); |
// Register the main thread by instantiating it, but don't call any methods. |
main_thread_.reset( |