Index: chrome/browser/extensions/extension_crash_recovery_browsertest.cc |
diff --git a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc |
index eb141b6bedcbc86dc19b6efc58ffda38aff5ad5f..b59860b360fd878a39c96f2f3c4b8502be7be6d2 100644 |
--- a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc |
+++ b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc |
@@ -424,7 +424,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionCrashRecoveryTest, CrashAndUninstall) { |
ASSERT_EQ(1U, CountBalloons()); |
UninstallExtension(first_extension_id_); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
SCOPED_TRACE("after uninstalling"); |
ASSERT_EQ(size_before + 1, GetExtensionService()->extensions()->size()); |