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

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 2343783003: Corrects mojom::RouteProvider registration in ChildThreadImpl (Closed)
Patch Set: Created 4 years, 3 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 | « ipc/ipc_channel_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_proxy.cc
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index 9b8ece18d4db3f034fa65e246b69b5fb4a0e040f..22e4cc3937996bdbce6aad31873a1ade1d43226b 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -408,8 +408,8 @@ void ChannelProxy::Context::AddGenericAssociatedInterfaceForIOThread(
}
Channel::AssociatedInterfaceSupport* support =
channel_->GetAssociatedInterfaceSupport();
- DCHECK(support);
- support->AddGenericAssociatedInterface(name, factory);
+ if (support)
+ support->AddGenericAssociatedInterface(name, factory);
}
void ChannelProxy::Context::SendFromThisThread(Message* message) {
« no previous file with comments | « ipc/ipc_channel_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698