aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.cc')
-rw-r--r--devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.cc b/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.cc
deleted file mode 100644
index b7ead036a4ad..000000000000
--- a/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- base/profiler/sampling_profiler_thread_token.cc.orig 2024-04-15 20:33:42 UTC
-+++ base/profiler/sampling_profiler_thread_token.cc
-@@ -6,7 +6,7 @@
-
- #include "build/build_config.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include <pthread.h>
-
- #include "base/profiler/stack_base_address_posix.h"
-@@ -18,7 +18,7 @@ SamplingProfilerThreadToken GetSamplingProfilerCurrent
- PlatformThreadId id = PlatformThread::CurrentId();
- #if BUILDFLAG(IS_ANDROID)
- return {id, pthread_self()};
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- std::optional<uintptr_t> maybe_stack_base =
- GetThreadStackBaseAddress(id, pthread_self());
- return {id, maybe_stack_base};