Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index ee37ebd34483caab1a3b51028501d6e15b9fff01..b27c6329268544f8b8852dfd873fcfaa6591fb13 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( |