Index: chrome/browser/extensions/event_router_forwarder_unittest.cc |
diff --git a/chrome/browser/extensions/event_router_forwarder_unittest.cc b/chrome/browser/extensions/event_router_forwarder_unittest.cc |
index c39e081d4eae3c58356329e67bb92a686cccc1a1..c2f25f824972d0c2e7845f93a1034ed031ef4da7 100644 |
--- a/chrome/browser/extensions/event_router_forwarder_unittest.cc |
+++ b/chrome/browser/extensions/event_router_forwarder_unittest.cc |
@@ -172,7 +172,7 @@ TEST_F(EventRouterForwarderTest, BroadcastRendererIO) { |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO))); |
ASSERT_TRUE(helper->Run()); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
} |
TEST_F(EventRouterForwarderTest, UnicastRendererUIRestricted) { |