| Index: mojo/shell/capability_filter_test.cc
|
| diff --git a/mojo/shell/capability_filter_test.cc b/mojo/shell/capability_filter_test.cc
|
| index f8d0349e64608b4086af808ab21d815cfd15e63a..b50f7174dd817fc0bdad75755834a264c4e2211e 100644
|
| --- a/mojo/shell/capability_filter_test.cc
|
| +++ b/mojo/shell/capability_filter_test.cc
|
| @@ -83,12 +83,12 @@ class ConnectionValidator : public ApplicationLoader,
|
| if (i != expectations_.end()) {
|
| expectations_.erase(i);
|
| if (expectations_.empty())
|
| - loop_->Quit();
|
| + loop_->QuitWhenIdle();
|
| } else {
|
| // This is a test failure, and will result in PrintUnexpectedExpecations()
|
| // being called.
|
| unexpected_.insert(result);
|
| - loop_->Quit();
|
| + loop_->QuitWhenIdle();
|
| }
|
| }
|
|
|
|
|