Index: services/js/content_handler_main.cc |
diff --git a/services/js/content_handler_main.cc b/services/js/content_handler_main.cc |
index fb22a27669372e43fe78bf548636ff707fe61e78..a114a1719af93d4cfb40fc22fc363a3eab665d58 100644 |
--- a/services/js/content_handler_main.cc |
+++ b/services/js/content_handler_main.cc |
@@ -38,9 +38,11 @@ class JsContentHandler : public mojo::ApplicationDelegate, |
// Overridden from ContentHandlerFactory::ManagedDelegate: |
scoped_ptr<mojo::ContentHandlerFactory::HandledApplicationHolder> |
- CreateApplication(mojo::ShellPtr shell, |
- mojo::URLResponsePtr response) override { |
- return make_scoped_ptr(new JSApp(shell.Pass(), response.Pass())); |
+ CreateApplication( |
+ mojo::InterfaceRequest<mojo::Application> application_request, |
+ mojo::URLResponsePtr response) override { |
+ return make_scoped_ptr( |
+ new JSApp(application_request.Pass(), response.Pass())); |
} |
mojo::ContentHandlerFactory content_handler_factory_; |