| Index: sandbox/win/src/target_process.cc
|
| diff --git a/sandbox/win/src/target_process.cc b/sandbox/win/src/target_process.cc
|
| index e27655e7ecfb4b10c77f3c8ac968fc8c428a532e..d8ff0a14e35043af61a867a1e87d9fd67b18a59c 100644
|
| --- a/sandbox/win/src/target_process.cc
|
| +++ b/sandbox/win/src/target_process.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| +#include <utility>
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -75,9 +76,9 @@ TargetProcess::TargetProcess(base::win::ScopedHandle initial_token,
|
| // This object owns everything initialized here except thread_pool and
|
| // the job_ handle. The Job handle is closed by BrokerServices and results
|
| // eventually in a call to our dtor.
|
| - : lockdown_token_(lockdown_token.Pass()),
|
| - initial_token_(initial_token.Pass()),
|
| - lowbox_token_(lowbox_token.Pass()),
|
| + : lockdown_token_(std::move(lockdown_token)),
|
| + initial_token_(std::move(initial_token)),
|
| + lowbox_token_(std::move(lowbox_token)),
|
| job_(job),
|
| thread_pool_(thread_pool),
|
| base_address_(NULL) {}
|
|
|