| Index: mojo/shell/capability_filter_unittest.cc
|
| diff --git a/mojo/shell/capability_filter_unittest.cc b/mojo/shell/capability_filter_unittest.cc
|
| index 688815f165007ca3a805ab3673e9cc0517c67d19..f571020e1445b41ee9ef526aa5e6f4e125897e0e 100644
|
| --- a/mojo/shell/capability_filter_unittest.cc
|
| +++ b/mojo/shell/capability_filter_unittest.cc
|
| @@ -58,7 +58,8 @@ class ConnectionValidator : public ApplicationLoader,
|
| private:
|
| // Overridden from ApplicationLoader:
|
| void Load(const GURL& url, InterfaceRequest<Application> request) override {
|
| - app_.reset(new ApplicationImpl(this, request.Pass()));
|
| + app_.reset(new ApplicationImpl(this, request.Pass(),
|
| + base::MessageLoop::QuitWhenIdleClosure()));
|
| }
|
|
|
| // Overridden from ApplicationDelegate:
|
| @@ -182,7 +183,8 @@ class TestContentHandler : public ApplicationDelegate,
|
| void StartApplication(InterfaceRequest<Application> application,
|
| URLResponsePtr response) override {
|
| embedded_apps_.push_back(
|
| - new ApplicationImpl(new TestApplication, application.Pass()));
|
| + new ApplicationImpl(new TestApplication, application.Pass(),
|
| + base::MessageLoop::QuitWhenIdleClosure()));
|
| }
|
|
|
| ApplicationImpl* app_;
|
| @@ -320,7 +322,8 @@ class TestLoader : public ApplicationLoader {
|
| private:
|
| // Overridden from ApplicationLoader:
|
| void Load(const GURL& url, InterfaceRequest<Application> request) override {
|
| - app_.reset(new ApplicationImpl(delegate_.get(), request.Pass()));
|
| + app_.reset(new ApplicationImpl(delegate_.get(), request.Pass(),
|
| + base::MessageLoop::QuitWhenIdleClosure()));
|
| }
|
|
|
| scoped_ptr<ApplicationDelegate> delegate_;
|
|
|