summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 00:06:08 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 00:06:08 +0000
commitd8996a01181eb26ccab90095d4bc6287052e1068 (patch)
treef1515920d75c4ca9a6f28df161099f8dbbef2ed1 /chrome/service
parent493b1712ea5821abd3930be03df2b2b9601deb3d (diff)
downloadchromium_src-d8996a01181eb26ccab90095d4bc6287052e1068.zip
chromium_src-d8996a01181eb26ccab90095d4bc6287052e1068.tar.gz
chromium_src-d8996a01181eb26ccab90095d4bc6287052e1068.tar.bz2
chrome: Update the remaining calls from RunAllPending() to RunUntilIdle().
RunAllPending() is deprecated and we should switch to RunUntilIdle(). BUG=131220 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/11299062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service')
-rw-r--r--chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc b/chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc
index b5ec124..b311538 100644
--- a/chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc
+++ b/chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc
@@ -126,7 +126,7 @@ class CloudPrintURLFetcherTest : public testing::Test,
// Deleting the fetcher causes a task to be posted to the IO thread to
// release references to the URLRequestContextGetter. We need to run all
// pending tasks to execute that (this is the IO thread).
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
EXPECT_EQ(0, g_request_context_getter_instances);
}