| Index: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| index 9daeedc901f3bf8a2b0bf130e329f40f39a754fa..804a8fea1e750003551e3024b8f858f477de134b 100644
|
| --- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| +++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| @@ -157,7 +157,9 @@ void SchedGetParamThread(base::WaitableEvent* thread_run) {
|
| BPF_TEST_C(ParameterRestrictions,
|
| sched_getparam_allowed,
|
| RestrictSchedPolicy) {
|
| - base::WaitableEvent thread_run(true, false);
|
| + base::WaitableEvent thread_run(
|
| + base::WaitableEvent::ResetPolicy::MANUAL,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
| // Run the actual test in a new thread so that the current pid and tid are
|
| // different.
|
| base::Thread getparam_thread("sched_getparam_thread");
|
|
|