Index: content/gpu/gpu_child_thread.cc |
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
index 9cfd41ab22707c88dea50ca8e60289f4d331680b..f392f2766a19867651855f2f04792b74e076e6a3 100644 |
--- a/content/gpu/gpu_child_thread.cc |
+++ b/content/gpu/gpu_child_thread.cc |
@@ -285,7 +285,10 @@ bool GpuChildThread::OnMessageReceived(const IPC::Message& msg) { |
void GpuChildThread::OnAssociatedInterfaceRequest( |
const std::string& name, |
mojo::ScopedInterfaceEndpointHandle handle) { |
- associated_interfaces_.BindRequest(name, std::move(handle)); |
+ if (associated_interfaces_.CanBindRequest(name)) |
+ associated_interfaces_.BindRequest(name, std::move(handle)); |
+ else |
+ ChildThreadImpl::OnAssociatedInterfaceRequest(name, std::move(handle)); |
} |
void GpuChildThread::CreateGpuService( |