blob: d33e16f206cac41d2266e5181b8dbfedab6aa93d (
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-03-12 23:57:30 UTC
+++ third_party/blink/renderer/modules/webaudio/audio_worklet_thread_test.cc
@@ -430,8 +430,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);
|