Differential D23984 Diff 69308 head/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.cc
Changeset View
Changeset View
Standalone View
Standalone View
head/www/chromium/files/patch-base_profiler_sampling__profiler__thread__token.cc
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- base/profiler/sampling_profiler_thread_token.cc.orig 2020-03-03 18:52:59 UTC | |||||
+++ base/profiler/sampling_profiler_thread_token.cc | |||||
@@ -7,7 +7,7 @@ | |||||
namespace base { | |||||
SamplingProfilerThreadToken GetSamplingProfilerCurrentThreadToken() { | |||||
-#if defined(OS_ANDROID) || defined(OS_LINUX) | |||||
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_BSD) | |||||
return {PlatformThread::CurrentId(), pthread_self()}; | |||||
#else | |||||
return {PlatformThread::CurrentId()}; |