Make DirectTransport::task_queue_ const
DirectTransport::task_queue_ previously could not be const, because of a hack for the deprecated version of DirectTransport. That is no longer the case. BUG=webrtc:8125 TBR=stefan@webrtc.org Review-Url: https://codereview.webrtc.org/3012483002 Cr-Commit-Position: refs/heads/master@{#19583}
This commit is contained in:
parent
cfab6c7c04
commit
8a6241e351
@ -68,9 +68,7 @@ class DirectTransport : public Transport {
|
||||
Call* const send_call_;
|
||||
Clock* const clock_;
|
||||
|
||||
// TODO(eladalon): Make |task_queue_| const.
|
||||
// https://bugs.chromium.org/p/webrtc/issues/detail?id=8125
|
||||
SingleThreadedTaskQueueForTesting* task_queue_;
|
||||
SingleThreadedTaskQueueForTesting* const task_queue_;
|
||||
SingleThreadedTaskQueueForTesting::TaskId next_scheduled_task_
|
||||
GUARDED_BY(&sequence_checker_);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user