mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 15:50:26 +08:00
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:
parent
bd1aa246ca
commit
93f8aa8df9
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user