Index: mojo/fetcher/about_fetcher_unittest.cc |
diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc |
index dd7087e820dc82a1e5a667dfb910058fd22ec02d..1537d22339ff0d6e5bc00842c51e57ff41466c05 100644 |
--- a/mojo/fetcher/about_fetcher_unittest.cc |
+++ b/mojo/fetcher/about_fetcher_unittest.cc |
@@ -51,10 +51,13 @@ 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 { |
response_number_++; |
latest_response_ = response.Pass(); |
+ destruct_callback.Run(); |
// Drop |application| request. This results in the application manager |
// dropping the ServiceProvider interface request provided by the client |