summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_manager_impl_unittest.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-10 19:07:29 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-10 19:07:29 +0000
commitf319aceaf8795d10825d748162bf744c0f15db8c (patch)
tree62b518c6939cafdc0c9708b298f488ea0ab4e4f8 /content/browser/download/download_manager_impl_unittest.cc
parent7b73935e6e8f873ca3e54d4e2a81fe7a3f4b5ba3 (diff)
downloadchromium_src-f319aceaf8795d10825d748162bf744c0f15db8c.zip
chromium_src-f319aceaf8795d10825d748162bf744c0f15db8c.tar.gz
chromium_src-f319aceaf8795d10825d748162bf744c0f15db8c.tar.bz2
content: Update calls froms RunAllPending() to RunUntilIdle().
BUG=131220 TEST=content_unittests TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/11365186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/download_manager_impl_unittest.cc')
-rw-r--r--content/browser/download/download_manager_impl_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/download/download_manager_impl_unittest.cc b/content/browser/download/download_manager_impl_unittest.cc
index 7084f71..2bf454c 100644
--- a/content/browser/download/download_manager_impl_unittest.cc
+++ b/content/browser/download/download_manager_impl_unittest.cc
@@ -463,10 +463,10 @@ class DownloadManagerTest : public testing::Test {
download_manager_->Shutdown();
download_manager_ = NULL;
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
ASSERT_EQ(NULL, mock_download_item_factory_.get());
ASSERT_EQ(NULL, mock_download_file_factory_.get());
- message_loop_.RunAllPending();
+ message_loop_.RunUntilIdle();
mock_download_manager_delegate_.reset();
mock_browser_context_.reset();
}