Index: content/browser/mojo/mojo_app_connection_impl.cc |
diff --git a/content/browser/mojo/mojo_app_connection_impl.cc b/content/browser/mojo/mojo_app_connection_impl.cc |
index 0a5f9743539edcdc999d9fef36b3e95985e19e6a..7b0aa7ceaade85a97425cad828188a69509d80ab 100644 |
--- a/content/browser/mojo/mojo_app_connection_impl.cc |
+++ b/content/browser/mojo/mojo_app_connection_impl.cc |
@@ -31,7 +31,8 @@ MojoAppConnectionImpl::MojoAppConnectionImpl(const GURL& url, |
const GURL& requestor_url) { |
MojoShellContext::ConnectToApplication( |
url, requestor_url, mojo::GetProxy(&services_), |
- mojo::ServiceProviderPtr(), mojo::shell::GetPermissiveCapabilityFilter(), |
+ mojo::InterfaceProviderPtr(), |
+ mojo::shell::GetPermissiveCapabilityFilter(), |
base::Bind(&OnGotRemoteIDs)); |
} |
@@ -41,7 +42,7 @@ MojoAppConnectionImpl::~MojoAppConnectionImpl() { |
void MojoAppConnectionImpl::ConnectToService( |
const std::string& service_name, |
mojo::ScopedMessagePipeHandle handle) { |
- services_->ConnectToService(service_name, std::move(handle)); |
+ services_->GetInterface(service_name, std::move(handle)); |
} |
} // namespace content |