| Index: chrome/chrome_watcher/chrome_watcher_main.cc
|
| diff --git a/chrome/chrome_watcher/chrome_watcher_main.cc b/chrome/chrome_watcher/chrome_watcher_main.cc
|
| index 57cd9f078699548009bb5c75aa108b6f40e49963..2f68aae2938dd0f4c554ad61012685b078fdc064 100644
|
| --- a/chrome/chrome_watcher/chrome_watcher_main.cc
|
| +++ b/chrome/chrome_watcher/chrome_watcher_main.cc
|
| @@ -27,6 +27,7 @@
|
| #include "base/strings/string_piece.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/synchronization/waitable_event.h"
|
| +#include "base/threading/platform_thread.h"
|
| #include "base/threading/thread.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "base/time/time.h"
|
| @@ -230,8 +231,8 @@ extern "C" int WatcherMain(const base::char16* registry_path,
|
| #endif // BUILDFLAG(ENABLE_KASKO)
|
|
|
| // Run a UI message loop on the main thread.
|
| + base::PlatformThread::SetName("WatcherMainThread");
|
| base::MessageLoop msg_loop(base::MessageLoop::TYPE_UI);
|
| - msg_loop.set_thread_name("WatcherMainThread");
|
|
|
| base::RunLoop run_loop;
|
| BrowserMonitor monitor(registry_path, &run_loop);
|
|
|