Index: examples/recursive_content_handler/recursive_content_handler.cc |
diff --git a/examples/recursive_content_handler/recursive_content_handler.cc b/examples/recursive_content_handler/recursive_content_handler.cc |
index baa6f037d3db42d2423e5f87719b36cd2ad24c1b..42a73f8bbd73a944895f30ea43233f0dfaad53ac 100644 |
--- a/examples/recursive_content_handler/recursive_content_handler.cc |
+++ b/examples/recursive_content_handler/recursive_content_handler.cc |
@@ -31,10 +31,11 @@ class RecursiveContentHandler : public ApplicationDelegate, |
// Overridden from ContentHandlerFactory::ManagedDelegate: |
virtual scoped_ptr<ContentHandlerFactory::HandledApplicationHolder> |
- CreateApplication(ShellPtr shell, URLResponsePtr response) override { |
+ CreateApplication(InterfaceRequest<Application> application_request, |
+ URLResponsePtr response) override { |
LOG(INFO) << "RecursiveContentHandler called with url: " << response->url; |
- return make_handled_factory_holder( |
- new mojo::ApplicationImpl(new RecursiveContentHandler(), shell.Pass())); |
+ return make_handled_factory_holder(new mojo::ApplicationImpl( |
+ new RecursiveContentHandler(), application_request.Pass())); |
} |
ContentHandlerFactory content_handler_factory_; |