| 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 1cd844da8ef0a8e0f1735784da9de08a2b9faad0..c2193350c19fb50e1e37ce9445eeb9f09787cfb6 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"
|
| @@ -231,8 +232,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);
|
|
|