Remove log in MaybeWorkerThread::TaskQueueForPost
If the network thread and worker thread is the same, this log will spam. Bug: webrtc:14502 Change-Id: Icb283f38fe6fbbca06ce911b9c0793148d459eef Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/278790 Reviewed-by: Evan Shrubsole <eshr@webrtc.org> Commit-Queue: Per Kjellander <perkj@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38363}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
fd745d3e3c
commit
77ec9f5015
@ -76,9 +76,6 @@ TaskQueueBase* MaybeWorkerThread::TaskQueueForDelayedTasks() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TaskQueueBase* MaybeWorkerThread::TaskQueueForPost() const {
|
TaskQueueBase* MaybeWorkerThread::TaskQueueForPost() const {
|
||||||
RTC_DLOG_IF(LS_WARNING, IsCurrent())
|
|
||||||
<< "TaskQueueForPost called on the current thread. Ok only in unit "
|
|
||||||
"tests.";
|
|
||||||
return owned_task_queue_ ? owned_task_queue_.get() : worker_thread_;
|
return owned_task_queue_ ? owned_task_queue_.get() : worker_thread_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user