Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
index 806e8b3999873940c886eba138fa2a81490b7c61..b2ecc2ea40ef5ae3b8b2f5e5ddd8cf943a444ca7 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
@@ -48,7 +48,7 @@ void AssertIntercepted( |
base::Bind(AssertInterceptedIO, |
url, |
base::Unretained(interceptor))); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
} |
void AssertWillHandleIO( |
@@ -70,7 +70,7 @@ void AssertWillHandle( |
scheme, |
expected, |
base::Unretained(interceptor))); |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
} |
class FakeDelegate : public ProtocolHandlerRegistry::Delegate { |