aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_process_process__unittest.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-02-20 11:35:15 +0000
committerRene Ladan <rene@FreeBSD.org>2022-02-20 11:42:02 +0000
commita23dfd214ae04e8b4d116ca6411570b684eb5ed6 (patch)
treea42703b6563673398eee97ae6ad4d01eafd77738 /www/chromium/files/patch-base_process_process__unittest.cc
parent9341f0aca4ecea11124957da5ea6384640745e43 (diff)
downloadports-a23dfd214ae04e8b4d116ca6411570b684eb5ed6.tar.gz
ports-a23dfd214ae04e8b4d116ca6411570b684eb5ed6.zip
www/chromium: update to 98.0.4758.102
- The port now uses the combined patch set for OpenBSD and FreeBSD maintained by Robert Nagy. - Fix build on i386 again. Obtained from: Robert Nagy <robert@openbsd.org> Security: https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-base_process_process__unittest.cc')
-rw-r--r--www/chromium/files/patch-base_process_process__unittest.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/www/chromium/files/patch-base_process_process__unittest.cc b/www/chromium/files/patch-base_process_process__unittest.cc
deleted file mode 100644
index 4f9397702033..000000000000
--- a/www/chromium/files/patch-base_process_process__unittest.cc
+++ /dev/null
@@ -1,27 +0,0 @@
---- base/process/process_unittest.cc.orig 2021-09-14 01:51:47 UTC
-+++ base/process/process_unittest.cc
-@@ -140,7 +140,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) {
- // was spawned and a time recorded after it was spawned. However, since the
- // base::Time and process creation clocks don't match, tolerate some error.
- constexpr base::TimeDelta kTolerance =
--#if defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
- // On Linux, process creation time is relative to boot time which has a
- // 1-second resolution. Tolerate 1 second for the imprecise boot time and
- // 100 ms for the imprecise clock.
-@@ -287,6 +287,7 @@ TEST_F(ProcessTest, WaitForExitOrEventWithEventSet) {
- }
- #endif // OS_WIN
-
-+#if !defined(OS_BSD)
- // Ensure that the priority of a process is restored correctly after
- // backgrounding and restoring.
- // Note: a platform may not be willing or able to lower the priority of
-@@ -344,6 +345,7 @@ TEST_F(ProcessTest, SetProcessBackgroundedSelf) {
- int new_priority = process.GetPriority();
- EXPECT_EQ(old_priority, new_priority);
- }
-+#endif
-
- // Consumers can use WaitForExitWithTimeout(base::TimeDelta(), nullptr) to check
- // whether the process is still running. This may not be safe because of the