Index: webrtc/rtc_base/task_queue_gcd.cc |
diff --git a/webrtc/rtc_base/task_queue_gcd.cc b/webrtc/rtc_base/task_queue_gcd.cc |
index 45c5f09ebfc1f81a1ec18206bcd0c953f98579fb..4094dd5192b58ca1662e9aac09f3401f0ecff755 100644 |
--- a/webrtc/rtc_base/task_queue_gcd.cc |
+++ b/webrtc/rtc_base/task_queue_gcd.cc |
@@ -145,13 +145,6 @@ TaskQueue* TaskQueue::Current() { |
return static_cast<TaskQueue*>(pthread_getspecific(GetQueuePtrTls())); |
} |
-// static |
-bool TaskQueue::IsCurrent(const char* queue_name) { |
- TaskQueue* current = Current(); |
- return current && |
- strcmp(queue_name, dispatch_queue_get_label(current->queue_)) == 0; |
-} |
- |
bool TaskQueue::IsCurrent() const { |
RTC_DCHECK(queue_); |
return this == Current(); |