Index: base/memory/shared_memory_win_unittest.cc |
diff --git a/base/memory/shared_memory_win_unittest.cc b/base/memory/shared_memory_win_unittest.cc |
index 5fc132d25a1fbed6d02574402d69c517ba4eb9e0..ab2b5f4e006105efa91c3f5f28be8a2d622447fd 100644 |
--- a/base/memory/shared_memory_win_unittest.cc |
+++ b/base/memory/shared_memory_win_unittest.cc |
@@ -199,7 +199,10 @@ TEST_F(SharedMemoryWinTest, LowerPermissions) { |
base::LaunchOptions options; |
options.as_user = lowered_process_token.Get(); |
- base::Process process = SpawnChildWithOptions("LowerPermissions", options); |
+ |
+ base::SpawnChildResult spawn_result = |
+ SpawnChildWithOptions("LowerPermissions", options); |
+ base::Process process = std::move(spawn_result.process); |
ASSERT_TRUE(process.IsValid()); |
SharedMemory memory; |