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

Unified Diff: components/crash/content/app/fallback_crash_handling_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: components/crash/content/app/fallback_crash_handling_win_unittest.cc
diff --git a/components/crash/content/app/fallback_crash_handling_win_unittest.cc b/components/crash/content/app/fallback_crash_handling_win_unittest.cc
index 7df6b20262aa6e832e6c98ea1d388ca0e6fe3b4c..243f19341ae2cceb2f2e1097342e7dd117b53063 100644
--- a/components/crash/content/app/fallback_crash_handling_win_unittest.cc
+++ b/components/crash/content/app/fallback_crash_handling_win_unittest.cc
@@ -62,8 +62,9 @@ TEST_F(FallbackCrashHandlingTest, SetupAndRunAsFallbackCrashHandler) {
base::LaunchOptions options;
options.start_hidden = true;
- base::Process test_child = base::SpawnMultiProcessTestChild(
+ base::SpawnChildResult spawn_result = base::SpawnMultiProcessTestChild(
"FallbackCrashHandlingWinRunHandler", cmd_line, options);
+ base::Process test_child = std::move(spawn_result.process);
ASSERT_TRUE(test_child.IsValid());
int exit_code = -1;

Powered by Google App Engine
This is Rietveld 408576698