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 7b0aa7ceaade85a97425cad828188a69509d80ab..cf8d1c249b4995529e80fb873695dfa5580094a1 100644 |
--- a/content/browser/mojo/mojo_app_connection_impl.cc |
+++ b/content/browser/mojo/mojo_app_connection_impl.cc |
@@ -30,7 +30,7 @@ scoped_ptr<MojoAppConnection> MojoAppConnection::Create( |
MojoAppConnectionImpl::MojoAppConnectionImpl(const GURL& url, |
const GURL& requestor_url) { |
MojoShellContext::ConnectToApplication( |
- url, requestor_url, mojo::GetProxy(&services_), |
+ url, requestor_url, mojo::GetProxy(&interfaces_), |
mojo::InterfaceProviderPtr(), |
mojo::shell::GetPermissiveCapabilityFilter(), |
base::Bind(&OnGotRemoteIDs)); |
@@ -39,10 +39,10 @@ MojoAppConnectionImpl::MojoAppConnectionImpl(const GURL& url, |
MojoAppConnectionImpl::~MojoAppConnectionImpl() { |
} |
-void MojoAppConnectionImpl::ConnectToService( |
- const std::string& service_name, |
+void MojoAppConnectionImpl::GetInterface( |
+ const std::string& interface_name, |
mojo::ScopedMessagePipeHandle handle) { |
- services_->GetInterface(service_name, std::move(handle)); |
+ interfaces_->GetInterface(interface_name, std::move(handle)); |
} |
} // namespace content |