Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2925)

Unified Diff: base/memory/shared_memory_win_unittest.cc

Issue 2733323002: Changing multiprocess test SpawnChild to return a struct. (Closed)
Patch Set: Fixed bots. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698