| 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 3a6174dfd5a8c68b87140790e3d04cf9c0f7d738..38753a2d96d9a5bc37f90f0ccc3c01f484b177c0 100644
|
| --- a/chrome/chrome_watcher/chrome_watcher_main.cc
|
| +++ b/chrome/chrome_watcher/chrome_watcher_main.cc
|
| @@ -28,6 +28,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "base/thread_task_runner_handle.h"
|
| +#include "base/threading/platform_thread.h"
|
| #include "base/threading/thread.h"
|
| #include "base/time/time.h"
|
| #include "base/win/scoped_handle.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);
|
|
|