Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Unified Diff: content/browser/browser_main_loop.cc

Issue 1942053002: Deletes base::MessageLoop::set_thread_name(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed media_unittests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698