Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 121a6371e05a8d73c6f6cf1d94c183dcb9834d35..92a77c5ea585205f3a4b190ad7f604210f6d2cce 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( |