Index: chrome/browser/google/google_url_tracker_unittest.cc |
diff --git a/chrome/browser/google/google_url_tracker_unittest.cc b/chrome/browser/google/google_url_tracker_unittest.cc |
index f73e46f808b72c292efef966f5e0baddf42134ed..82d518467a99ad9aef3a3c0b87f7ec082a2cbecf 100644 |
--- a/chrome/browser/google/google_url_tracker_unittest.cc |
+++ b/chrome/browser/google/google_url_tracker_unittest.cc |
@@ -250,7 +250,7 @@ void GoogleURLTrackerTest::NotifyIPAddressChanged() { |
net::NetworkChangeNotifier::NotifyObserversOfIPAddressChangeForTests(); |
// For thread safety, the NCN queues tasks to do the actual notifications, so |
// we need to spin the message loop so the tracker will actually be notified. |
- MessageLoop::current()->RunAllPending(); |
+ MessageLoop::current()->RunUntilIdle(); |
} |
void GoogleURLTrackerTest::SetLastPromptedGoogleURL(const GURL& url) { |