Index: chrome/browser/prerender/prerender_tracker_unittest.cc |
diff --git a/chrome/browser/prerender/prerender_tracker_unittest.cc b/chrome/browser/prerender/prerender_tracker_unittest.cc |
index 046dd9066135fbc71803bbb5f4e4f12b0f112885..0fd4b47e09c21e8d0a4d48545e6d9f60c1294e6b 100644 |
--- a/chrome/browser/prerender/prerender_tracker_unittest.cc |
+++ b/chrome/browser/prerender/prerender_tracker_unittest.cc |
@@ -68,7 +68,7 @@ class PrerenderTrackerTest : public testing::Test { |
// Runs any tasks queued on either thread. |
void RunEvents() { |
- message_loop_.RunAllPending(); |
+ message_loop_.RunUntilIdle(); |
} |
private: |