blob: 8911c7d84a36effa9266f87ef8244f2e59227140 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- third_party/blink/renderer/modules/webaudio/audio_worklet_thread_test.cc.orig 2021-07-19 18:45:22 UTC
+++ third_party/blink/renderer/modules/webaudio/audio_worklet_thread_test.cc
@@ -409,8 +409,8 @@ class AudioWorkletThreadPriorityTest
base::PlatformThread::GetCurrentThreadPriority();
// TODO(crbug.com/1022888): The worklet thread priority is always NORMAL
- // on OS_LINUX and OS_CHROMEOS regardless of the thread priority setting.
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+ // on OS_LINUX, OS_CHROMEOS and OS_BSD regardless of the thread priority setting.
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
if (expected_priority == base::ThreadPriority::REALTIME_AUDIO ||
expected_priority == base::ThreadPriority::DISPLAY) {
EXPECT_EQ(actual_priority, base::ThreadPriority::NORMAL);
|