Index: chrome/nacl/nacl_main.cc |
diff --git a/chrome/nacl/nacl_main.cc b/chrome/nacl/nacl_main.cc |
index 1eb0455376ad2ba6310f83525f4e126be08c9946..90f62db5c8fecf99b9256c80d77ab6bc6f16b2fa 100644 |
--- a/chrome/nacl/nacl_main.cc |
+++ b/chrome/nacl/nacl_main.cc |
@@ -36,8 +36,7 @@ |
// This is necessary for supporting NaCl in Chrome on Win64. |
int NaClBrokerMain(const MainFunctionParams& parameters) { |
// The main thread of the broker. |
- MessageLoopForIO main_message_loop; |
- base::PlatformThread::SetName("CrNaClBrokerMain"); |
+ MessageLoopForIO main_message_loop("CrNaClBrokerMain"); |
base::SystemMonitor system_monitor; |
HighResolutionTimerManager hi_res_timer_manager; |
@@ -100,8 +99,7 @@ int NaClMain(const MainFunctionParams& parameters) { |
HandleNaClTestParameters(parsed_command_line); |
// The main thread of the plugin services IO. |
- MessageLoopForIO main_message_loop; |
- base::PlatformThread::SetName("CrNaClMain"); |
+ MessageLoopForIO main_message_loop("CrNaClMain"); |
base::SystemMonitor system_monitor; |
HighResolutionTimerManager hi_res_timer_manager; |