| Index: webrtc/rtc_base/task_queue_win.cc
|
| diff --git a/webrtc/rtc_base/task_queue_win.cc b/webrtc/rtc_base/task_queue_win.cc
|
| index 128a98f858c9b86d6cf82a4ca675d44d5fe59163..9b4d1a2308cebf8348881f7c27f2a33252fa3c72 100644
|
| --- a/webrtc/rtc_base/task_queue_win.cc
|
| +++ b/webrtc/rtc_base/task_queue_win.cc
|
| @@ -217,12 +217,6 @@ TaskQueue* TaskQueue::Current() {
|
| return static_cast<TaskQueue*>(::TlsGetValue(GetQueuePtrTls()));
|
| }
|
|
|
| -// static
|
| -bool TaskQueue::IsCurrent(const char* queue_name) {
|
| - TaskQueue* current = Current();
|
| - return current && current->thread_.name().compare(queue_name) == 0;
|
| -}
|
| -
|
| bool TaskQueue::IsCurrent() const {
|
| return IsThreadRefEqual(thread_.GetThreadRef(), CurrentThreadRef());
|
| }
|
|
|