Index: ash/test/ash_test_helper.cc |
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc |
index e92ea0db55093922a9a53aba87ed40150de744e4..5162438e437b687a2089dfb1fa3bfb0b27a75a45 100644 |
--- a/ash/test/ash_test_helper.cc |
+++ b/ash/test/ash_test_helper.cc |
@@ -163,6 +163,7 @@ void AshTestHelper::SetUp(bool start_session, |
void AshTestHelper::TearDown() { |
// Tear down the shell. |
Shell::DeleteInstance(); |
+ RunAllPendingInMessageLoop(); |
material_design_state_.reset(); |
test::MaterialDesignControllerTestAPI::Uninitialize(); |
ash_test_environment_->TearDown(); |