Index: webrtc/rtc_base/task_queue.h |
diff --git a/webrtc/rtc_base/task_queue.h b/webrtc/rtc_base/task_queue.h |
index 966b29c40d0c1dc54fa76b6da509003a27a121e2..363effbee09fca1bef0f9c4dd3aa91a42bcf5f63 100644 |
--- a/webrtc/rtc_base/task_queue.h |
+++ b/webrtc/rtc_base/task_queue.h |
@@ -16,10 +16,6 @@ |
#include <queue> |
#include <type_traits> |
-#if defined(WEBRTC_MAC) |
-#include <dispatch/dispatch.h> |
-#endif |
- |
#include "webrtc/rtc_base/constructormagic.h" |
#include "webrtc/rtc_base/criticalsection.h" |
#include "webrtc/rtc_base/scoped_ref_ptr.h" |
@@ -236,16 +232,8 @@ class LOCKABLE TaskQueue { |
} |
private: |
-#if defined(WEBRTC_MAC) |
- struct QueueContext; |
- struct TaskContext; |
- struct PostTaskAndReplyContext; |
- dispatch_queue_t queue_; |
- QueueContext* const context_; |
-#else |
class Impl; |
const scoped_refptr<Impl> impl_; |
-#endif |
RTC_DISALLOW_COPY_AND_ASSIGN(TaskQueue); |
}; |