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

Unified Diff: ipc/ipc_mojo_bootstrap.cc

Issue 2481963002: IPC: Relax thread constraints on Channel-associated send (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_mojo_bootstrap.cc
diff --git a/ipc/ipc_mojo_bootstrap.cc b/ipc/ipc_mojo_bootstrap.cc
index 5a60ead81ad30b348cc3958b09e204bb60e23146..8f27cbd477bc5c14980de00f649fed3910304233 100644
--- a/ipc/ipc_mojo_bootstrap.cc
+++ b/ipc/ipc_mojo_bootstrap.cc
@@ -484,9 +484,8 @@ class ChannelAssociatedGroupController
}
return connector_->Accept(message);
} else {
- // We always post tasks to the master endpoint thread when called from the
- // proxy thread in order to simulate IPC::ChannelProxy::Send behavior.
- DCHECK(proxy_task_runner_->BelongsToCurrentThread());
+ // We always post tasks to the master endpoint thread when called from
+ // other threads in order to simulate IPC::ChannelProxy::Send behavior.
task_runner_->PostTask(
FROM_HERE,
base::Bind(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698