Index: ios/web/app/web_main_loop.mm |
diff --git a/ios/web/app/web_main_loop.mm b/ios/web/app/web_main_loop.mm |
index f02ca85fcfd1adbb6412f434655e9ba3dd983b4f..b66b97013e66196f74bcd567e5b64eb3b0a0dd09 100644 |
--- a/ios/web/app/web_main_loop.mm |
+++ b/ios/web/app/web_main_loop.mm |
@@ -254,11 +254,7 @@ void WebMainLoop::ShutdownThreadsAndCleanUp() { |
} |
void WebMainLoop::InitializeMainThread() { |
- const char* kThreadName = "CrWebMain"; |
- base::PlatformThread::SetName(kThreadName); |
- if (main_message_loop_) { |
- main_message_loop_->set_thread_name(kThreadName); |
- } |
+ base::PlatformThread::SetName("CrWebMain"); |
// Register the main thread by instantiating it, but don't call any methods. |
main_thread_.reset( |