Index: chrome/browser/extensions/sandboxed_unpacker_unittest.cc |
diff --git a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc |
index 7c050b50d9e842b1c2bd70bf041f64151cca9ae7..1ab1f5677325110cb5fb661ae01ff6734ee52222 100644 |
--- a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc |
+++ b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc |
@@ -75,7 +75,7 @@ class SandboxedUnpackerTest : public testing::Test { |
// Need to destruct SandboxedUnpacker before the message loop since |
// it posts a task to it. |
sandboxed_unpacker_ = NULL; |
- loop_.RunAllPending(); |
+ loop_.RunUntilIdle(); |
} |
void SetupUnpacker(const std::string& crx_name) { |