Index: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
index 9566108f335e2168c4539d03ed31b47dfdbb643b..1698b17e8214fb556dfda8e8384439221e89ec02 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc |
@@ -784,6 +784,12 @@ class ExistingUserControllerActiveDirectoryTest |
ExistingUserControllerTest::SetUpInProcessBrowserTestFixture(); |
} |
+ // Overriden from ExistingUserControllerTest: |
+ void TearDownOnMainThread() override { |
+ base::RunLoop().RunUntilIdle(); |
+ ExistingUserControllerTest::TearDownOnMainThread(); |
+ } |
+ |
protected: |
void ExpectLoginFailure() { |
EXPECT_CALL(*mock_login_display_, SetUIEnabled(false)).Times(2); |