| Index: services/ui/input_manager/input_manager_app.cc
|
| diff --git a/services/ui/input_manager/input_manager_app.cc b/services/ui/input_manager/input_manager_app.cc
|
| index b6adffb4b306ff19d7a4fb9edbd09421dc39bdd7..0d2917de8dfcfbe61845f84426f517871b150395 100644
|
| --- a/services/ui/input_manager/input_manager_app.cc
|
| +++ b/services/ui/input_manager/input_manager_app.cc
|
| @@ -34,14 +34,14 @@ void InputManagerApp::Initialize(mojo::ApplicationImpl* app_impl) {
|
|
|
| bool InputManagerApp::ConfigureIncomingConnection(
|
| mojo::ApplicationConnection* connection) {
|
| - connection->AddService<mojo::ui::ViewAssociate>(this);
|
| + connection->GetServiceProviderImpl().AddService<mojo::ui::ViewAssociate>(
|
| + [this](const mojo::ConnectionContext& connection_context,
|
| + mojo::InterfaceRequest<mojo::ui::ViewAssociate>
|
| + view_associate_request) {
|
| + input_associates_.AddBinding(new InputAssociate(),
|
| + view_associate_request.Pass());
|
| + });
|
| return true;
|
| }
|
|
|
| -void InputManagerApp::Create(
|
| - const mojo::ConnectionContext& connection_context,
|
| - mojo::InterfaceRequest<mojo::ui::ViewAssociate> request) {
|
| - input_associates.AddBinding(new InputAssociate(), request.Pass());
|
| -}
|
| -
|
| } // namespace input_manager
|
|
|