Index: chrome/browser/net/network_stats_unittest.cc |
diff --git a/chrome/browser/net/network_stats_unittest.cc b/chrome/browser/net/network_stats_unittest.cc |
index 42a3f2efd5f0f79a1c984aa21a074f88d1bc32aa..4d0fe71c316dbf519a20819bf1602c5e39c8c5fe 100644 |
--- a/chrome/browser/net/network_stats_unittest.cc |
+++ b/chrome/browser/net/network_stats_unittest.cc |
@@ -22,7 +22,7 @@ class NetworkStatsTest : public PlatformTest { |
protected: |
virtual void TearDown() { |
// Flush the message loop to make application verifiers happy. |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
} |
MessageLoopForIO message_loop_; |
}; |