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

Unified Diff: mojo/ui/view_provider_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 | « mojo/ui/view_provider_app.h ('k') | services/asset_bundle/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/view_provider_app.cc
diff --git a/mojo/ui/view_provider_app.cc b/mojo/ui/view_provider_app.cc
index 8a1fb1a5e1151920132f7229078d9307b15a4ed2..4de9593c46f1df0ba336c0c656325d0afc63c6da 100644
--- a/mojo/ui/view_provider_app.cc
+++ b/mojo/ui/view_provider_app.cc
@@ -51,8 +51,8 @@ void ViewProviderApp::Initialize(mojo::ApplicationImpl* app_impl) {
}
bool ViewProviderApp::ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) {
- connection->GetServiceProviderImpl().AddService<ViewProvider>(
+ ServiceProviderImpl* service_provider_impl) {
+ service_provider_impl->AddService<ViewProvider>(
[this](const ConnectionContext& connection_context,
InterfaceRequest<ViewProvider> view_provider_request) {
bindings_.AddBinding(
« no previous file with comments | « mojo/ui/view_provider_app.h ('k') | services/asset_bundle/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698