| Index: base/threading/platform_thread_posix.cc
|
| diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc
|
| index ee9b1b1ed7768e8e6fa7b2737a89edccf441ff46..d1fb7bbee88edc7118a37921c29da2644c87605c 100644
|
| --- a/base/threading/platform_thread_posix.cc
|
| +++ b/base/threading/platform_thread_posix.cc
|
| @@ -132,11 +132,10 @@ PlatformThreadId PlatformThread::CurrentId() {
|
| return syscall(__NR_gettid);
|
| #elif defined(OS_ANDROID)
|
| return gettid();
|
| -#elif defined(OS_FREEBSD)
|
| - // TODO(BSD): find a better thread ID
|
| - return reinterpret_cast<int64>(pthread_self());
|
| #elif defined(OS_NACL) || defined(OS_SOLARIS)
|
| return pthread_self();
|
| +#elif defined(OS_POSIX)
|
| + return reinterpret_cast<int64>(pthread_self());
|
| #endif
|
| }
|
|
|
|
|