Chromium Code Reviews| Index: sandbox/win/src/job.cc |
| diff --git a/sandbox/win/src/job.cc b/sandbox/win/src/job.cc |
| index adf392ddd437903bc489be63ef8a444bcbde8100..63e66102c032e282ce73e7da467d1d9e98ac8f2b 100644 |
| --- a/sandbox/win/src/job.cc |
| +++ b/sandbox/win/src/job.cc |
| @@ -5,6 +5,7 @@ |
| #include "sandbox/win/src/job.h" |
| #include <stddef.h> |
| +#include <utility> |
| #include "base/win/windows_version.h" |
| #include "sandbox/win/src/restricted_token.h" |
| @@ -103,7 +104,7 @@ DWORD Job::UserHandleGrantAccess(HANDLE handle) { |
| } |
| base::win::ScopedHandle Job::Take() { |
| - return job_handle_.Pass(); |
| + return std::move(job_handle_); |
|
brettw
2016/03/02 19:09:08
Here also we need to write code so that job_handle
|
| } |
| DWORD Job::AssignProcessToJob(HANDLE process_handle) { |