| Index: services/ui/launcher/launcher_app.cc
|
| diff --git a/services/ui/launcher/launcher_app.cc b/services/ui/launcher/launcher_app.cc
|
| index d0f1377726920254925157be9206b091d5dd2b52..9a6fe1fab766a7bb2358b8f569737240ceecf53a 100644
|
| --- a/services/ui/launcher/launcher_app.cc
|
| +++ b/services/ui/launcher/launcher_app.cc
|
| @@ -42,16 +42,15 @@ bool LauncherApp::ConfigureIncomingConnection(
|
| if (connection->GetServiceProviderImpl()
|
| .connection_context()
|
| .remote_url.empty()) {
|
| - connection->AddService<Launcher>(this);
|
| + connection->GetServiceProviderImpl().AddService<Launcher>(
|
| + [this](const mojo::ConnectionContext& connection_context,
|
| + mojo::InterfaceRequest<Launcher> launcher_request) {
|
| + bindings_.AddBinding(this, launcher_request.Pass());
|
| + });
|
| }
|
| return true;
|
| }
|
|
|
| -void LauncherApp::Create(const mojo::ConnectionContext& connection_context,
|
| - mojo::InterfaceRequest<Launcher> request) {
|
| - bindings_.AddBinding(this, request.Pass());
|
| -}
|
| -
|
| void LauncherApp::Launch(const mojo::String& application_url) {
|
| uint32_t next_id = next_id_++;
|
| std::unique_ptr<LaunchInstance> instance(new LaunchInstance(
|
|
|