| Index: services/ui/launcher/launcher_app.cc
|
| diff --git a/services/ui/launcher/launcher_app.cc b/services/ui/launcher/launcher_app.cc
|
| index 9a6fe1fab766a7bb2358b8f569737240ceecf53a..31c16b255bbcaef48aa4959b8e8b159d03dc0ee0 100644
|
| --- a/services/ui/launcher/launcher_app.cc
|
| +++ b/services/ui/launcher/launcher_app.cc
|
| @@ -37,12 +37,10 @@ void LauncherApp::Initialize(mojo::ApplicationImpl* app_impl) {
|
| }
|
|
|
| bool LauncherApp::ConfigureIncomingConnection(
|
| - mojo::ApplicationConnection* connection) {
|
| + mojo::ServiceProviderImpl* service_provider_impl) {
|
| // Only present the launcher interface to the shell.
|
| - if (connection->GetServiceProviderImpl()
|
| - .connection_context()
|
| - .remote_url.empty()) {
|
| - connection->GetServiceProviderImpl().AddService<Launcher>(
|
| + if (service_provider_impl->connection_context().remote_url.empty()) {
|
| + service_provider_impl->AddService<Launcher>(
|
| [this](const mojo::ConnectionContext& connection_context,
|
| mojo::InterfaceRequest<Launcher> launcher_request) {
|
| bindings_.AddBinding(this, launcher_request.Pass());
|
|
|