| Index: sandbox/win/src/handle_policy_test.cc
|
| diff --git a/sandbox/win/src/handle_policy_test.cc b/sandbox/win/src/handle_policy_test.cc
|
| index 11e888abe72ef9fd2ee56b49f61fd5184212aa51..0664babe7b56b122c78e799056e15b009ac7cbab 100644
|
| --- a/sandbox/win/src/handle_policy_test.cc
|
| +++ b/sandbox/win/src/handle_policy_test.cc
|
| @@ -54,7 +54,7 @@ TEST(HandlePolicyTest, DuplicateHandle) {
|
| EXPECT_EQ(SBOX_TEST_SUCCEEDED, target.RunTest(L"Handle_WaitProcess 30000"));
|
|
|
| // First test that we fail to open the event.
|
| - std::wstring cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d",
|
| + base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d",
|
| target.process_id());
|
| EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str()));
|
|
|
| @@ -76,7 +76,7 @@ TEST(HandlePolicyTest, DuplicatePeerHandle) {
|
| EXPECT_EQ(SBOX_TEST_SUCCEEDED, target.RunTest(L"Handle_WaitProcess 30000"));
|
|
|
| // First test that we fail to open the event.
|
| - std::wstring cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d",
|
| + base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d",
|
| target.process_id());
|
| EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str()));
|
|
|
| @@ -92,7 +92,7 @@ TEST(HandlePolicyTest, DuplicateBrokerHandle) {
|
| TestRunner runner;
|
|
|
| // First test that we fail to open the event.
|
| - std::wstring cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d",
|
| + base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d",
|
| ::GetCurrentProcessId());
|
| EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str()));
|
|
|
|
|