Index: chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc |
diff --git a/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc b/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc |
index ad2a97852c1733acb3b2fd35d5ebf9127084078c..d7bebeb67fa8fd218f0a7fab62de0ebfdc273347 100644 |
--- a/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc |
+++ b/chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc |
@@ -188,21 +188,21 @@ TEST(ChromeFraudulentCertificateReporterTest, ReportIsSent) { |
MessageLoop loop(MessageLoop::TYPE_IO); |
content::TestBrowserThread io_thread(BrowserThread::IO, &loop); |
loop.PostTask(FROM_HERE, base::Bind(&DoReportIsSent)); |
- loop.RunAllPending(); |
+ loop.RunUntilIdle(); |
} |
TEST(ChromeFraudulentCertificateReporterTest, MockReportIsSent) { |
MessageLoop loop(MessageLoop::TYPE_IO); |
content::TestBrowserThread io_thread(BrowserThread::IO, &loop); |
loop.PostTask(FROM_HERE, base::Bind(&DoMockReportIsSent)); |
- loop.RunAllPending(); |
+ loop.RunUntilIdle(); |
} |
TEST(ChromeFraudulentCertificateReporterTest, ReportIsNotSent) { |
MessageLoop loop(MessageLoop::TYPE_IO); |
content::TestBrowserThread io_thread(BrowserThread::IO, &loop); |
loop.PostTask(FROM_HERE, base::Bind(&DoReportIsNotSent)); |
- loop.RunAllPending(); |
+ loop.RunUntilIdle(); |
} |
} // namespace chrome_browser_net |