Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: services/gfx/compositor/compositor_app.cc

Issue 1979723002: ApplicationConnection devolution, part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/gfx/compositor/compositor_app.h ('k') | services/http_server/http_server_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/compositor_app.cc
diff --git a/services/gfx/compositor/compositor_app.cc b/services/gfx/compositor/compositor_app.cc
index 858c4434269a2baa9e03992bd4b5546a8fad9cc1..555e4d7ee7520c1df37d0bf4ea8bb83dbb0c553d 100644
--- a/services/gfx/compositor/compositor_app.cc
+++ b/services/gfx/compositor/compositor_app.cc
@@ -35,15 +35,14 @@ void CompositorApp::Initialize(mojo::ApplicationImpl* app_impl) {
}
bool CompositorApp::ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) {
- connection->GetServiceProviderImpl()
- .AddService<mojo::gfx::composition::Compositor>(
- [this](const mojo::ConnectionContext& connection_context,
- mojo::InterfaceRequest<mojo::gfx::composition::Compositor>
- compositor_request) {
- compositor_bindings_.AddBinding(new CompositorImpl(engine_.get()),
- compositor_request.Pass());
- });
+ mojo::ServiceProviderImpl* service_provider_impl) {
+ service_provider_impl->AddService<mojo::gfx::composition::Compositor>(
+ [this](const mojo::ConnectionContext& connection_context,
+ mojo::InterfaceRequest<mojo::gfx::composition::Compositor>
+ compositor_request) {
+ compositor_bindings_.AddBinding(new CompositorImpl(engine_.get()),
+ compositor_request.Pass());
+ });
return true;
}
« no previous file with comments | « services/gfx/compositor/compositor_app.h ('k') | services/http_server/http_server_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698