diff options
Diffstat (limited to 'www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc')
-rw-r--r-- | www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc b/www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc index 0d931d1190e3..510fe325059f 100644 --- a/www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc +++ b/www/chromium/files/patch-base_trace__event_heap__profiler__allocation__context__tracker.cc @@ -1,4 +1,4 @@ ---- base/trace_event/heap_profiler_allocation_context_tracker.cc.orig 2021-07-19 18:45:05 UTC +--- base/trace_event/heap_profiler_allocation_context_tracker.cc.orig 2021-12-14 11:44:55 UTC +++ base/trace_event/heap_profiler_allocation_context_tracker.cc @@ -30,6 +30,10 @@ #include <sys/prctl.h> @@ -30,7 +30,7 @@ if (!err) { + return strdup(name); + } -+#elif defined(OS_BSD) && __FreeBSD__ >= 12 ++#elif defined(OS_BSD) + pthread_get_name_np(pthread_self(), name, kBufferLen); + if (*name != '\0') { return strdup(name); |