| Index: content/browser/renderer_host/p2p/socket_dispatcher_host.cc
|
| diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
|
| index 2e3afbd64bc02098e0abedbc8b51e340f79091c2..913adf7710f14474db3d1c9a578f3a1c91b5a549 100644
|
| --- a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
|
| +++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
|
| @@ -158,7 +158,7 @@ void P2PSocketDispatcherHost::StartRtpDump(
|
| bool incoming,
|
| bool outgoing,
|
| const RenderProcessHost::WebRtcRtpPacketCallback& packet_callback) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| if ((!dump_incoming_rtp_packet_ && incoming) ||
|
| (!dump_outgoing_rtp_packet_ && outgoing)) {
|
| @@ -176,7 +176,7 @@ void P2PSocketDispatcherHost::StartRtpDump(
|
|
|
| void P2PSocketDispatcherHost::StopRtpDumpOnUIThread(bool incoming,
|
| bool outgoing) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| BrowserThread::PostTask(
|
| BrowserThread::IO,
|
| FROM_HERE,
|
|
|