| Index: ppapi/proxy/udp_socket_filter.cc
|
| diff --git a/ppapi/proxy/udp_socket_filter.cc b/ppapi/proxy/udp_socket_filter.cc
|
| index 119b4e49971f7ced9728df2b73bf8e64295cb1ad..b2666c1d2f51ef008e655a437c5fbf7a0d2b88aa 100644
|
| --- a/ppapi/proxy/udp_socket_filter.cc
|
| +++ b/ppapi/proxy/udp_socket_filter.cc
|
| @@ -117,7 +117,7 @@ void UDPSocketFilter::OnPluginMsgPushRecvResult(
|
| int32_t result,
|
| const std::string& data,
|
| const PP_NetAddress_Private& addr) {
|
| - DCHECK(PluginGlobals::Get()->ipc_task_runner()->RunsTasksOnCurrentThread());
|
| + DCHECK(PluginGlobals::Get()->ipc_task_runner()->RunsTasksInCurrentSequence());
|
| base::AutoLock acquire(lock_);
|
| auto it = queues_.find(params.pp_resource());
|
| // The RecvQueue might be gone if there were messages in-flight for a
|
| @@ -151,7 +151,7 @@ void UDPSocketFilter::RecvQueue::DataReceivedOnIOThread(
|
| int32_t result,
|
| const std::string& data,
|
| const PP_NetAddress_Private& addr) {
|
| - DCHECK(PluginGlobals::Get()->ipc_task_runner()->RunsTasksOnCurrentThread());
|
| + DCHECK(PluginGlobals::Get()->ipc_task_runner()->RunsTasksInCurrentSequence());
|
| DCHECK_LT(recv_buffers_.size(),
|
| static_cast<size_t>(
|
| UDPSocketResourceConstants::kPluginReceiveBufferSlots));
|
|
|