Index: chrome/browser/prerender/prerender_resource_throttle_unittest.cc |
diff --git a/chrome/browser/prerender/prerender_resource_throttle_unittest.cc b/chrome/browser/prerender/prerender_resource_throttle_unittest.cc |
index aa7fa9a180b383f3fe49b64d1a0b7b6fde42f027..f4b68e989e085007bc610519549a2003379ad358 100644 |
--- a/chrome/browser/prerender/prerender_resource_throttle_unittest.cc |
+++ b/chrome/browser/prerender/prerender_resource_throttle_unittest.cc |
@@ -190,9 +190,7 @@ class PrerenderResourceThrottleTest : public testing::Test { |
} |
// Runs any tasks queued on either thread. |
- void RunEvents() { |
- message_loop_.RunUntilIdle(); |
- } |
+ void RunEvents() { base::RunLoop().RunUntilIdle(); } |
private: |
base::MessageLoopForIO message_loop_; |