Index: base/threading/platform_thread_posix.cc |
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc |
index f3a835e54f0b2c56cc02827ee85749a8fb25f214..95cc5d55cda76c2a0bd82e28700a5fc6de89dc78 100644 |
--- a/base/threading/platform_thread_posix.cc |
+++ b/base/threading/platform_thread_posix.cc |
@@ -63,8 +63,7 @@ void* ThreadFunc(void* params) { |
// Stash the id in the handle so the calling thread has a complete |
// handle, and unblock the parent thread. |
- *(thread_params->handle) = PlatformThreadHandle(pthread_self(), |
- PlatformThread::CurrentId()); |
+ *(thread_params->handle) = PlatformThreadHandle(pthread_self()); |
thread_params->handle_set.Signal(); |
ThreadIdNameManager::GetInstance()->RegisterThread( |
@@ -165,7 +164,7 @@ PlatformThreadRef PlatformThread::CurrentRef() { |
// static |
PlatformThreadHandle PlatformThread::CurrentHandle() { |
- return PlatformThreadHandle(pthread_self(), CurrentId()); |
+ return PlatformThreadHandle(pthread_self()); |
} |
// static |