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

Unified Diff: ios/web/app/web_main_loop.mm

Issue 1942053002: Deletes base::MessageLoop::set_thread_name(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes mac/ios build Created 4 years, 6 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: 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(

Powered by Google App Engine
This is Rietveld 408576698