Index: services/nacl/nonsfi/content_handler_main_pexe.cc |
diff --git a/services/nacl/nonsfi/content_handler_main_pexe.cc b/services/nacl/nonsfi/content_handler_main_pexe.cc |
index 7fcc2a10a6caf8772c4bdba56a006cdcfd395f4a..4e0bb7684f9b557b1d7485734090da5ede19a073 100644 |
--- a/services/nacl/nonsfi/content_handler_main_pexe.cc |
+++ b/services/nacl/nonsfi/content_handler_main_pexe.cc |
@@ -51,7 +51,8 @@ class PexeContentHandler : public mojo::ApplicationDelegate, |
// Overridden from ApplicationDelegate: |
bool ConfigureIncomingConnection( |
mojo::ApplicationConnection* connection) override { |
- connection->AddService(&content_handler_factory_); |
+ connection->GetServiceProviderImpl().AddService<mojo::ContentHandler>( |
+ content_handler_factory_.GetInterfaceRequestHandler()); |
return true; |
} |