Index: base/threading/platform_thread.h |
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h |
index 0b922650f0cf405878b6d345bb98f6c2959333c3..786077266aac4b01c65654c2d37a1df4d3923053 100644 |
--- a/base/threading/platform_thread.h |
+++ b/base/threading/platform_thread.h |
@@ -73,26 +73,9 @@ class PlatformThreadHandle { |
typedef pthread_t Handle; |
#endif |
- PlatformThreadHandle() |
- : handle_(0), |
- id_(0) { |
- } |
- |
- explicit PlatformThreadHandle(Handle handle) |
- : handle_(handle), |
- id_(0) { |
- } |
+ PlatformThreadHandle() : handle_(0) {} |
- PlatformThreadHandle(Handle handle, |
- PlatformThreadId id) |
- : handle_(handle), |
- id_(id) { |
- } |
- |
- // TODO(toyoshim): Remove id() and use PlatformThread::CurrentId() instead. |
- PlatformThreadId id() const { |
- return id_; |
- } |
+ explicit PlatformThreadHandle(Handle handle) : handle_(handle) {} |
bool is_equal(const PlatformThreadHandle& other) const { |
return handle_ == other.handle_; |
@@ -108,7 +91,6 @@ class PlatformThreadHandle { |
private: |
Handle handle_; |
- PlatformThreadId id_; |
}; |
const PlatformThreadId kInvalidThreadId(0); |