Index: sandbox/win/src/handle_inheritance_test.cc |
diff --git a/sandbox/win/src/handle_inheritance_test.cc b/sandbox/win/src/handle_inheritance_test.cc |
index 95a369a4dc171a642c26bd33f08ea157c3beef3a..1a411b543b41388c7b5698b968f0583bf72b3322 100644 |
--- a/sandbox/win/src/handle_inheritance_test.cc |
+++ b/sandbox/win/src/handle_inheritance_test.cc |
@@ -56,7 +56,7 @@ SBOX_TESTS_COMMAND int |
HandleInheritanceTests_ValidInheritedHandle(int argc, wchar_t **argv) { |
if (argc != 1) |
return SBOX_TEST_FAILED_TO_RUN_TEST; |
- base::SharedMemoryHandle handle = nullptr; |
+ HANDLE handle = nullptr; |
base::StringToUint(argv[0], reinterpret_cast<unsigned int *>(&handle)); |
// This handle we inherited must be both valid and closeable. |
@@ -79,8 +79,8 @@ TEST(HandleInheritanceTests, InheritByValue) { |
ASSERT_TRUE(test_shared_memory.Map(0)); |
TestRunner runner; |
- void *shared_handle = |
- runner.GetPolicy()->AddHandleToShare(test_shared_memory.handle()); |
+ void* shared_handle = runner.GetPolicy()->AddHandleToShare( |
+ test_shared_memory.handle().GetHandle()); |
std::string command_line = |
"HandleInheritanceTests_ValidInheritedHandle " + |