diff options
Diffstat (limited to 'chrome/service')
-rw-r--r-- | chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc | 2 |
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); } |