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

Unified Diff: chrome/common/component_flash_hint_file_linux_unittest.cc

Issue 2735113003: Changing SpawnChild to return a struct.
Patch Set: 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: chrome/common/component_flash_hint_file_linux_unittest.cc
diff --git a/chrome/common/component_flash_hint_file_linux_unittest.cc b/chrome/common/component_flash_hint_file_linux_unittest.cc
index fa3fa1f258433b42ee3da99d66a2a0cdd91c13bb..d67adb8ba962e77d3d17e9eab72ee5a7babc090e 100644
--- a/chrome/common/component_flash_hint_file_linux_unittest.cc
+++ b/chrome/common/component_flash_hint_file_linux_unittest.cc
@@ -157,7 +157,8 @@ MULTIPROCESS_TEST_MAIN(NoExecMountTest) {
}
TEST_F(ComponentFlashHintFileTest, ExecTest2) {
- base::Process process = SpawnChild("NoExecMountTest");
+ base::SpawnChildResult spawn_result = SpawnChild("NoExecMountTest");
+ base::Process process(std::move(spawn_result.process));
ASSERT_TRUE(process.IsValid());
int exit_code = 42;
ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(),

Powered by Google App Engine
This is Rietveld 408576698