Index: mojo/shell/view_manager_loader.cc |
diff --git a/mojo/shell/view_manager_loader.cc b/mojo/shell/view_manager_loader.cc |
index 6b93eac16e079659a0598b44b20462aedfa5ef50..934305927839a365e27bd3b9aec5a4c8186b091a 100644 |
--- a/mojo/shell/view_manager_loader.cc |
+++ b/mojo/shell/view_manager_loader.cc |
@@ -37,7 +37,8 @@ void ViewManagerLoader::OnServiceError(ServiceManager* manager, |
} |
bool ViewManagerLoader::ConfigureIncomingConnection( |
- ApplicationConnection* connection) { |
+ ApplicationConnection* connection) { |
+ context_.ConfigureIncomingConnection(connection); |
connection->AddService(this); |
return true; |
} |
@@ -45,7 +46,8 @@ bool ViewManagerLoader::ConfigureIncomingConnection( |
void ViewManagerLoader::Create( |
ApplicationConnection* connection, |
InterfaceRequest<ViewManagerInitService> request) { |
- BindToRequest(new ViewManagerInitServiceImpl(connection), &request); |
+ BindToRequest(new ViewManagerInitServiceImpl(connection, &context_), |
+ &request); |
} |
} // namespace shell |