diff options
Diffstat (limited to 'chrome/nacl/nacl_main.cc')
-rw-r--r-- | chrome/nacl/nacl_main.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/nacl/nacl_main.cc b/chrome/nacl/nacl_main.cc index 4dc2691..760eb85 100644 --- a/chrome/nacl/nacl_main.cc +++ b/chrome/nacl/nacl_main.cc @@ -34,8 +34,7 @@ int NaClBrokerMain(const MainFunctionParams& parameters) { // The main thread of the broker. MessageLoopForIO main_message_loop; - std::wstring app_name = chrome::kNaClAppName; - PlatformThread::SetName(WideToASCII(app_name + L"_NaClBrokerMain").c_str()); + PlatformThread::SetName("CrNaClBrokerMain"); SystemMonitor system_monitor; HighResolutionTimerManager hi_res_timer_manager; @@ -122,13 +121,7 @@ int NaClMain(const MainFunctionParams& parameters) { // The main thread of the plugin services IO. MessageLoopForIO main_message_loop; - // NaCl code runs in a different binary on Win64. -#ifdef _WIN64 - std::wstring app_name = chrome::kNaClAppName; -#else - std::wstring app_name = chrome::kBrowserAppName; -#endif - PlatformThread::SetName(WideToASCII(app_name + L"_NaClMain").c_str()); + PlatformThread::SetName("CrNaClMain"); SystemMonitor system_monitor; HighResolutionTimerManager hi_res_timer_manager; |