Index: content/worker/worker_main.cc |
diff --git a/content/worker/worker_main.cc b/content/worker/worker_main.cc |
index 88acc213f47224b7e0dccd0fce22b519bc84f42d..1a51d3a59c397dcac0dd76ea2cbb498691bb0ca0 100644 |
--- a/content/worker/worker_main.cc |
+++ b/content/worker/worker_main.cc |
@@ -7,7 +7,6 @@ |
#include "base/message_loop.h" |
#include "base/string_util.h" |
#include "base/system_monitor/system_monitor.h" |
-#include "base/threading/platform_thread.h" |
#include "content/common/child_process.h" |
#include "content/common/hi_res_timer_manager.h" |
#include "content/common/main_function_params.h" |
@@ -21,8 +20,7 @@ |
// Mainline routine for running as the worker process. |
int WorkerMain(const MainFunctionParams& parameters) { |
// The main message loop of the worker process. |
- MessageLoop main_message_loop; |
- base::PlatformThread::SetName("CrWorkerMain"); |
+ MessageLoop main_message_loop("CrWorkerMain"); |
base::SystemMonitor system_monitor; |
HighResolutionTimerManager hi_res_timer_manager; |