posix: fix parameter name in signals test

Change-Id: I6e998571171c9a725d88a9529c73d01c62ee984f
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1905146
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Joshua Peraza 2019-11-07 19:29:58 -08:00 committed by Commit Bot
parent bd1aa246ca
commit 93f8aa8df9

View File

@ -259,10 +259,10 @@ class SignalsTest : public Multiprocess {
bool (*install_handlers)(Signals::Handler, int, Signals::OldActions*); bool (*install_handlers)(Signals::Handler, int, Signals::OldActions*);
if (Signals::IsCrashSignal(sig_)) { if (Signals::IsCrashSignal(sig_)) {
install_handlers = [](Signals::Handler handler, install_handlers = [](Signals::Handler handler,
int sig, int flags,
Signals::OldActions* old_actions) { Signals::OldActions* old_actions) {
return Signals::InstallCrashHandlers( return Signals::InstallCrashHandlers(
handler, sig, old_actions, nullptr); handler, flags, old_actions, nullptr);
}; };
} else if (Signals::IsTerminateSignal(sig_)) { } else if (Signals::IsTerminateSignal(sig_)) {
install_handlers = Signals::InstallTerminateHandlers; install_handlers = Signals::InstallTerminateHandlers;