aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.h')
-rw-r--r--devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.h b/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.h
deleted file mode 100644
index 40fee797f377..000000000000
--- a/devel/electron33/files/patch-base_profiler_sampling__profiler__thread__token.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- base/profiler/sampling_profiler_thread_token.h.orig 2024-04-15 20:33:42 UTC
-+++ base/profiler/sampling_profiler_thread_token.h
-@@ -13,7 +13,7 @@
-
- #if BUILDFLAG(IS_ANDROID)
- #include <pthread.h>
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include <stdint.h>
- #endif
-
-@@ -27,7 +27,7 @@ struct SamplingProfilerThreadToken {
- PlatformThreadId id;
- #if BUILDFLAG(IS_ANDROID)
- pthread_t pthread_id;
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Due to the sandbox, we can only retrieve the stack base address for the
- // current thread. We must grab it during
- // GetSamplingProfilerCurrentThreadToken() and not try to get it later.