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 0d2917de8dfcfbe61845f84426f517871b150395..5c48355908a9948785de1cbda45c8ec2b3918dc9 100644 |
--- a/services/ui/input_manager/input_manager_app.cc |
+++ b/services/ui/input_manager/input_manager_app.cc |
@@ -33,14 +33,13 @@ void InputManagerApp::Initialize(mojo::ApplicationImpl* app_impl) { |
} |
bool InputManagerApp::ConfigureIncomingConnection( |
- mojo::ApplicationConnection* connection) { |
- 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()); |
- }); |
+ mojo::ServiceProviderImpl* service_provider_impl) { |
+ service_provider_impl->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; |
} |