Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: ppapi/proxy/udp_socket_filter.cc

Issue 2886913005: Rename TaskRunner::RunsTasksOnCurrentThread() in //dbus, //chromeos, //ppapi (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/host/resource_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « ppapi/host/resource_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698