Index: mojo/shell/application_manager_unittest.cc |
diff --git a/mojo/shell/application_manager_unittest.cc b/mojo/shell/application_manager_unittest.cc |
index 01c285cf656c6f3695fdd26bcf537604a983a5cf..c3f7b464ff0c4201698c917b37d58c732504e110 100644 |
--- a/mojo/shell/application_manager_unittest.cc |
+++ b/mojo/shell/application_manager_unittest.cc |
@@ -139,7 +139,9 @@ class TestApplicationLoader : public ApplicationLoader, |
void Load(const GURL& url, |
InterfaceRequest<Application> application_request) override { |
++num_loads_; |
- test_app_.reset(new ApplicationImpl(this, application_request.Pass())); |
+ test_app_.reset( |
+ new ApplicationImpl(this, application_request.Pass(), |
+ base::MessageLoop::QuitWhenIdleClosure())); |
} |
// ApplicationDelegate implementation. |
@@ -367,7 +369,8 @@ class Tester : public ApplicationDelegate, |
private: |
void Load(const GURL& url, |
InterfaceRequest<Application> application_request) override { |
- app_.reset(new ApplicationImpl(this, application_request.Pass())); |
+ app_.reset(new ApplicationImpl(this, application_request.Pass(), |
+ base::MessageLoop::QuitWhenIdleClosure())); |
} |
bool ConfigureIncomingConnection(ApplicationConnection* connection) override { |