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

Unified Diff: content/common/sandbox_mac_diraccess_unittest.mm

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: content/common/sandbox_mac_diraccess_unittest.mm
diff --git a/content/common/sandbox_mac_diraccess_unittest.mm b/content/common/sandbox_mac_diraccess_unittest.mm
index 828395fc744e2dbe416cb1d3cb0393569dbd2f13..0207ebdad711acf219dd22a9a0ef0dd37963f012 100644
--- a/content/common/sandbox_mac_diraccess_unittest.mm
+++ b/content/common/sandbox_mac_diraccess_unittest.mm
@@ -39,7 +39,8 @@ class MacDirAccessSandboxTest : public base::MultiProcessTest {
public:
bool CheckSandbox(const std::string& directory_to_try) {
setenv(kSandboxAccessPathKey, directory_to_try.c_str(), 1);
- base::Process child_process = SpawnChild("mac_sandbox_path_access");
+ base::SpawnChildResult spawn_result = SpawnChild("mac_sandbox_path_access");
+ base::Process child_process = std::move(spawn_result.process);
if (!child_process.IsValid()) {
LOG(WARNING) << "SpawnChild failed";
return false;

Powered by Google App Engine
This is Rietveld 408576698