| 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 e653b8a0c6d373cf722696725072dd44c70dadda..917c7f474b226535dd465cdce4ee644d0fcf2a4d 100644
|
| --- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| +++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| @@ -99,14 +99,14 @@ class ClockSystemTesterDelegate : public sandbox::BPFTesterDelegate {
|
| }
|
| void RunTestFunction() override {
|
| if (is_running_on_chromeos_) {
|
| - CheckClock(base::TimeTicks::kClockSystemTrace);
|
| + CheckClock(base::TraceTicks::kClockSystemTrace);
|
| } else {
|
| struct timespec ts;
|
| // kClockSystemTrace is 11, which is CLOCK_THREAD_CPUTIME_ID of
|
| // the init process (pid=1). If kernel supports this feature,
|
| // this may succeed even if this is not running on Chrome OS. We
|
| // just check this clock_gettime call does not crash.
|
| - clock_gettime(base::TimeTicks::kClockSystemTrace, &ts);
|
| + clock_gettime(base::TraceTicks::kClockSystemTrace, &ts);
|
| }
|
| }
|
|
|
| @@ -124,7 +124,7 @@ BPF_DEATH_TEST_C(ParameterRestrictions,
|
| DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()),
|
| RestrictClockIdPolicy) {
|
| struct timespec ts;
|
| - clock_gettime(base::TimeTicks::kClockSystemTrace, &ts);
|
| + clock_gettime(base::TraceTicks::kClockSystemTrace, &ts);
|
| }
|
|
|
| #endif // defined(OS_CHROMEOS)
|
|
|