Index: mojo/package_manager/capability_filter_content_handler_unittest.cc |
diff --git a/mojo/package_manager/capability_filter_content_handler_unittest.cc b/mojo/package_manager/capability_filter_content_handler_unittest.cc |
index 095a2b42410f2db0acc5ddce1e8d8bee1bfc4520..cdb4721217e16a725db531deec3a91feccdafc2d 100644 |
--- a/mojo/package_manager/capability_filter_content_handler_unittest.cc |
+++ b/mojo/package_manager/capability_filter_content_handler_unittest.cc |
@@ -96,12 +96,15 @@ class TestContentHandler : public ApplicationDelegate, |
} |
// Overridden from ContentHandler: |
- void StartApplication(InterfaceRequest<Application> application, |
- URLResponsePtr response) override { |
+ void StartApplication( |
+ InterfaceRequest<Application> application, |
+ URLResponsePtr response, |
+ const Callback<void()>& destruct_callback) override { |
scoped_ptr<ApplicationDelegate> delegate(new shell::test::TestApplication); |
embedded_apps_.push_back( |
new ApplicationImpl(delegate.get(), application.Pass())); |
embedded_app_delegates_.push_back(delegate.Pass()); |
+ destruct_callback.Run(); |
} |
ApplicationImpl* app_; |