summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2015-12-31 17:39:30 -0500
committerNico Weber <thakis@chromium.org>2015-12-31 22:42:28 +0000
commitc86f28e5c9c01227d6f767f043d27ff5a30bb121 (patch)
treecb634591a48ee4a3176d29efb500320230abf8c8
parentcf0a07b13661965f1c3df642306850b69cfeda8c (diff)
downloadchromium_src-c86f28e5c9c01227d6f767f043d27ff5a30bb121.zip
chromium_src-c86f28e5c9c01227d6f767f043d27ff5a30bb121.tar.gz
chromium_src-c86f28e5c9c01227d6f767f043d27ff5a30bb121.tar.bz2
Unbreak zygote_main_linux.cc coverage builds after https://codereview.chromium.org/1548273002
Looks like we have close to 0 coverage of this build configuration, this has been broken for 2 days :-( I noticed it on https://build.chromium.org/p/chromium.fyi/builders/ClangToTLinuxUBSanVptr BUG=541755 R=dcheng@chromium.org TBR=dcheng Review URL: https://codereview.chromium.org/1558853002 . Cr-Commit-Position: refs/heads/master@{#367254}
-rw-r--r--content/zygote/zygote_main_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
index c5b0b8f..8a3221a 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
@@ -588,7 +588,7 @@ bool ZygoteMain(const MainFunctionParams& params,
#if defined(SANITIZER_COVERAGE)
pid_t sancov_helper_pid = ForkSanitizerCoverageHelper(
- sancov_socket_fds[0], sancov_socket_fds[1], sancov_file_fd.Pass(),
+ sancov_socket_fds[0], sancov_socket_fds[1], std::move(sancov_file_fd),
sandbox_fds_to_close_post_fork);
// It's important that the zygote reaps the helper before dying. Otherwise,
// the destruction of the PID namespace could kill the helper before it