Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7059)

Unified Diff: chrome/browser/download/download_status_updater_unittest.cc

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_status_updater_unittest.cc
diff --git a/chrome/browser/download/download_status_updater_unittest.cc b/chrome/browser/download/download_status_updater_unittest.cc
index e5cc23689c322fc710965e3c197c526b41c86ea3..171ec412cb90e7b9835051e08042cfda6ae32ce8 100644
--- a/chrome/browser/download/download_status_updater_unittest.cc
+++ b/chrome/browser/download/download_status_updater_unittest.cc
@@ -69,7 +69,7 @@ class DownloadStatusUpdaterTest : public testing::Test {
it != manager_items_.end(); ++it)
STLDeleteContainerPointers(it->begin(), it->end());
- loop_.RunAllPending(); // Allow DownloadManager destruction.
+ loop_.RunUntilIdle(); // Allow DownloadManager destruction.
}
protected:

Powered by Google App Engine
This is Rietveld 408576698