| Index: services/shell/public/cpp/lib/interface_registry.cc
|
| diff --git a/services/shell/public/cpp/lib/interface_registry.cc b/services/shell/public/cpp/lib/interface_registry.cc
|
| index 03e135dece389b3ac5c151e274c0ce54d142f66f..fb34590a667e50093239b8b39bd8361265ae0976 100644
|
| --- a/services/shell/public/cpp/lib/interface_registry.cc
|
| +++ b/services/shell/public/cpp/lib/interface_registry.cc
|
| @@ -44,7 +44,7 @@ void InterfaceRegistry::GetInterface(const mojo::String& interface_name,
|
| auto iter = name_to_binder_.find(interface_name);
|
| if (iter != name_to_binder_.end()) {
|
| iter->second->BindInterface(connection_, interface_name, std::move(handle));
|
| - } else if (connection_ && connection_->AllowsInterface(interface_name)) {
|
| + } else if (connection_ && !connection_->AllowsInterface(interface_name)) {
|
| LOG(ERROR) << "Connection CapabilityFilter prevented binding to "
|
| << "interface: " << interface_name << " connection_name:"
|
| << connection_->GetConnectionName() << " remote_name:"
|
|
|