Index: sandbox/win/src/broker_services.cc |
diff --git a/sandbox/win/src/broker_services.cc b/sandbox/win/src/broker_services.cc |
index dbf75f967ec9d82ddc7000b38ecf2020034551f5..a239a3bd11511470cf545fcd71f2c01b2781cd92 100644 |
--- a/sandbox/win/src/broker_services.cc |
+++ b/sandbox/win/src/broker_services.cc |
@@ -496,8 +496,8 @@ ResultCode BrokerServicesBase::SpawnTarget(const wchar_t* exe_path, |
// Create the TargetProces object and spawn the target suspended. Note that |
// Brokerservices does not own the target object. It is owned by the Policy. |
base::win::ScopedProcessInformation process_info; |
- TargetProcess* target = new TargetProcess(initial_token.Take(), |
- lockdown_token.Take(), |
+ TargetProcess* target = new TargetProcess(initial_token.Pass(), |
+ lockdown_token.Pass(), |
job.Get(), |
thread_pool_); |