| Index: sandbox/src/policy_target_test.cc
|
| diff --git a/sandbox/src/policy_target_test.cc b/sandbox/src/policy_target_test.cc
|
| index 577c8c56cd2bb3e3aeccc8002a5fc44e5fb6569b..f2f48632224fe3927347732df7290086fab87e2d 100644
|
| --- a/sandbox/src/policy_target_test.cc
|
| +++ b/sandbox/src/policy_target_test.cc
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/win/scoped_process_information.h"
|
| #include "base/win/windows_version.h"
|
| #include "sandbox/src/sandbox.h"
|
| #include "sandbox/src/sandbox_factory.h"
|
| @@ -149,9 +150,9 @@ SBOX_TESTS_COMMAND int PolicyTargetTest_process(int argc, wchar_t **argv) {
|
| // Use default values to create a new process.
|
| STARTUPINFO startup_info = {0};
|
| startup_info.cb = sizeof(startup_info);
|
| - PROCESS_INFORMATION process_info;
|
| + base::win::ScopedProcessInformation process_info;
|
| if (!::CreateProcessW(L"foo.exe", L"foo.exe", NULL, NULL, FALSE, 0,
|
| - NULL, NULL, &startup_info, &process_info))
|
| + NULL, NULL, &startup_info, process_info.Receive()))
|
| return SBOX_TEST_SUCCEEDED;
|
| return SBOX_TEST_FAILED;
|
| }
|
|
|