aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_threading_platform__thread__unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_threading_platform__thread__unittest.cc')
-rw-r--r--www/chromium/files/patch-base_threading_platform__thread__unittest.cc15
1 files changed, 3 insertions, 12 deletions
diff --git a/www/chromium/files/patch-base_threading_platform__thread__unittest.cc b/www/chromium/files/patch-base_threading_platform__thread__unittest.cc
index 6544f36c25d9..f0791854a0e8 100644
--- a/www/chromium/files/patch-base_threading_platform__thread__unittest.cc
+++ b/www/chromium/files/patch-base_threading_platform__thread__unittest.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_unittest.cc.orig 2025-04-04 08:52:13 UTC
+--- base/threading/platform_thread_unittest.cc.orig 2025-07-02 06:08:04 UTC
+++ base/threading/platform_thread_unittest.cc
@@ -36,7 +36,7 @@
#include "base/time/time.h"
@@ -9,7 +9,7 @@
#include <pthread.h>
#include <sys/syscall.h>
#include <sys/types.h>
-@@ -370,7 +370,7 @@ TEST(PlatformThreadTest,
+@@ -369,7 +369,7 @@ TEST(PlatformThreadTest,
// and hardcodes what we know. Please inform scheduler-dev@chromium.org if this
// proprerty changes for a given platform.
TEST(PlatformThreadTest, CanChangeThreadType) {
@@ -18,16 +18,7 @@
// On Ubuntu, RLIMIT_NICE and RLIMIT_RTPRIO are 0 by default, so we won't be
// able to increase priority to any level unless we are root (euid == 0).
bool kCanIncreasePriority = false;
-@@ -435,7 +435,7 @@ TEST(PlatformThreadTest, SetCurrentThreadTypeTest) {
- #if BUILDFLAG(IS_APPLE)
- TestPriorityResultingFromThreadType(ThreadType::kResourceEfficient,
- ThreadPriorityForTest::kUtility);
--#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- TestPriorityResultingFromThreadType(
- ThreadType::kResourceEfficient,
- ThreadPriorityForTest::kResourceEfficient);
-@@ -624,12 +624,16 @@ INSTANTIATE_TEST_SUITE_P(
+@@ -606,12 +606,16 @@ INSTANTIATE_TEST_SUITE_P(
#endif // BUILDFLAG(IS_APPLE)