Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc
--- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc.orig 2020-04-08 09:41:36 UTC | --- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc | +++ src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc | ||||
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ SamplingProfilerThreadToken GetSamplingProfilerCurrent | ||||
namespace base { | namespace base { | ||||
SamplingProfilerThreadToken GetSamplingProfilerCurrentThreadToken() { | SamplingProfilerThreadToken GetSamplingProfilerCurrentThreadToken() { | ||||
-#if defined(OS_ANDROID) || defined(OS_LINUX) | -#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) | ||||
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD) | +#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||||
return {PlatformThread::CurrentId(), pthread_self()}; | return {PlatformThread::CurrentId(), pthread_self()}; | ||||
#else | #else | ||||
return {PlatformThread::CurrentId()}; | return {PlatformThread::CurrentId()}; |