| Index: components/browser_watcher/window_hang_monitor_win.cc
|
| diff --git a/components/browser_watcher/window_hang_monitor_win.cc b/components/browser_watcher/window_hang_monitor_win.cc
|
| index da0eff1d8e44f910e654b54f0f4cfa0f0ae38536..e3966f8c5000333b9079415e4922fe6ca4078772 100644
|
| --- a/components/browser_watcher/window_hang_monitor_win.cc
|
| +++ b/components/browser_watcher/window_hang_monitor_win.cc
|
| @@ -3,6 +3,8 @@
|
| // found in the LICENSE file.
|
| #include "components/browser_watcher/window_hang_monitor_win.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/callback.h"
|
| #include "base/files/file_util.h"
|
| #include "base/location.h"
|
| @@ -72,7 +74,7 @@ WindowHangMonitor::~WindowHangMonitor() {
|
| }
|
|
|
| void WindowHangMonitor::Initialize(base::Process process) {
|
| - window_process_ = process.Pass();
|
| + window_process_ = std::move(process);
|
| timer_.SetTaskRunner(base::MessageLoop::current()->task_runner());
|
|
|
| ScheduleFindWindow();
|
|
|