Index: examples/recipes/recipe_handler/recipe_handler_main.cc |
diff --git a/examples/recipes/recipe_handler/recipe_handler_main.cc b/examples/recipes/recipe_handler/recipe_handler_main.cc |
index f16f8efd65a9789979dedd3235704fd20dfa655b..89d8d021a0f9dadb01c162513551c6f19b8de6a2 100644 |
--- a/examples/recipes/recipe_handler/recipe_handler_main.cc |
+++ b/examples/recipes/recipe_handler/recipe_handler_main.cc |
@@ -37,8 +37,9 @@ class RecipeHandlerApp : public mojo::ApplicationDelegate, |
// Overridden from ContentHandlerFactory::ManagedDelegate: |
scoped_ptr<mojo::ContentHandlerFactory::HandledApplicationHolder> |
- CreateApplication(mojo::ShellPtr shell, |
- mojo::URLResponsePtr response) override { |
+ CreateApplication( |
+ mojo::InterfaceRequest<mojo::Application> application_request, |
+ mojo::URLResponsePtr response) override { |
std::string recipe_string; |
if (!mojo::common::BlockingCopyToString(response->body.Pass(), |
&recipe_string)) { |
@@ -64,7 +65,7 @@ class RecipeHandlerApp : public mojo::ApplicationDelegate, |
return nullptr; |
return make_handled_factory_holder( |
- new mojo::ApplicationImpl(recipe, shell.Pass())); |
+ new mojo::ApplicationImpl(recipe, application_request.Pass())); |
} |
mojo::ContentHandlerFactory content_handler_factory_; |