| Index: base/process/launch_fuchsia.cc
|
| diff --git a/base/process/launch_fuchsia.cc b/base/process/launch_fuchsia.cc
|
| index 4ab969afa3853bb8c8fb1c9f23b9a4f5ff1b4dfd..21ab302fc30592bf829111f7d7a6a7398a230fbc 100644
|
| --- a/base/process/launch_fuchsia.cc
|
| +++ b/base/process/launch_fuchsia.cc
|
| @@ -36,7 +36,7 @@ bool GetAppOutputInternal(const std::vector<std::string>& argv,
|
| launchpad_clone_fd(lp, STDIN_FILENO, STDIN_FILENO);
|
| int pipe_fd;
|
| mx_status_t status = launchpad_add_pipe(lp, &pipe_fd, STDOUT_FILENO);
|
| - if (status != NO_ERROR) {
|
| + if (status != MX_OK) {
|
| LOG(ERROR) << "launchpad_add_pipe failed: " << status;
|
| launchpad_destroy(lp);
|
| return false;
|
| @@ -50,7 +50,7 @@ bool GetAppOutputInternal(const std::vector<std::string>& argv,
|
| mx_handle_t proc;
|
| const char* errmsg;
|
| status = launchpad_go(lp, &proc, &errmsg);
|
| - if (status != NO_ERROR) {
|
| + if (status != MX_OK) {
|
| LOG(ERROR) << "launchpad_go failed: " << errmsg << ", status=" << status;
|
| return false;
|
| }
|
| @@ -121,7 +121,7 @@ Process LaunchProcess(const std::vector<std::string>& argv,
|
| mx_handle_t proc;
|
| const char* errmsg;
|
| mx_status_t status = launchpad_go(lp, &proc, &errmsg);
|
| - if (status != NO_ERROR) {
|
| + if (status != MX_OK) {
|
| LOG(ERROR) << "launchpad_go failed: " << errmsg << ", status=" << status;
|
| return Process();
|
| }
|
|
|