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

Unified Diff: base/memory/shared_memory_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_unittest.cc
diff --git a/base/memory/shared_memory_unittest.cc b/base/memory/shared_memory_unittest.cc
index 19dedccb4768ad01040aa73a90d722e32fe18f8e..1ca2181c316a95b0189c5acef699726d9cff277e 100644
--- a/base/memory/shared_memory_unittest.cc
+++ b/base/memory/shared_memory_unittest.cc
@@ -684,7 +684,8 @@ TEST_F(SharedMemoryProcessTest, SharedMemoryAcrossProcesses) {
// word by 1.
Process processes[kNumTasks];
for (int index = 0; index < kNumTasks; ++index) {
- processes[index] = SpawnChild("SharedMemoryTestMain");
+ SpawnChildResult spawn_result = SpawnChild("SharedMemoryTestMain");
+ processes[index] = std::move(spawn_result.process);
ASSERT_TRUE(processes[index].IsValid());
}

Powered by Google App Engine
This is Rietveld 408576698