Index: chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
index 32c2648ce5dab5e1ce7302df063ba0158592d9d8..12e6ca47650f82bff3231dd78b54911f6830c646 100644 |
--- a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
+++ b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
@@ -199,7 +199,7 @@ class NativeBackendKWalletTest : public NativeBackendKWalletTestBase { |
event.Wait(); |
// Some of the tests may post messages to the UI thread, but we don't need |
// to run those until after the DB thread is finished. So run it here. |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
} |
static void ThreadDone(base::WaitableEvent* event) { |
event->Signal(); |