| Index: components/browser_watcher/exit_code_watcher_win.cc
|
| diff --git a/components/browser_watcher/exit_code_watcher_win.cc b/components/browser_watcher/exit_code_watcher_win.cc
|
| index 0e2318472f455a2c9f40b4b2b12622aa9eca7e68..76aacd0e571c00f7ab16dd3241815f94a9fba935 100644
|
| --- a/components/browser_watcher/exit_code_watcher_win.cc
|
| +++ b/components/browser_watcher/exit_code_watcher_win.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "components/browser_watcher/exit_code_watcher_win.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/logging.h"
|
| #include "base/process/kill.h"
|
| #include "base/strings/stringprintf.h"
|
| @@ -50,7 +52,7 @@ bool ExitCodeWatcher::Initialize(base::Process process) {
|
| }
|
|
|
| // Success, take ownership of the process.
|
| - process_ = process.Pass();
|
| + process_ = std::move(process);
|
| process_creation_time_ = base::Time::FromFileTime(creation_time);
|
|
|
| // Start by writing the value STILL_ACTIVE to registry, to allow detection
|
|
|