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) { |