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

Unified Diff: content/browser/service_worker/service_worker_job_unittest.cc

Issue 2491613004: Make base::Timer sequence-friendly. (Closed)
Patch Set: add back commented out DCHECK in Stop() Created 3 years, 7 months 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
« no previous file with comments | « content/browser/service_worker/service_worker_browsertest.cc ('k') | media/base/android/media_codec_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_job_unittest.cc
diff --git a/content/browser/service_worker/service_worker_job_unittest.cc b/content/browser/service_worker/service_worker_job_unittest.cc
index ca7aea2857325ccbbf59af4b24cbd76eff317ef4..135347b82e78634199127fc2082a13071f1d3d83 100644
--- a/content/browser/service_worker/service_worker_job_unittest.cc
+++ b/content/browser/service_worker/service_worker_job_unittest.cc
@@ -1800,7 +1800,7 @@ TEST_F(ServiceWorkerJobTest, ActivateCancelsOnShutdown) {
// Allow the activation to continue. It will fail, and the worker
// should not be promoted to ACTIVATED because failure occur
// during shutdown.
- runner->RunUntilIdle();
+ runner->RunPendingTasks();
base::RunLoop().RunUntilIdle();
EXPECT_EQ(new_version.get(), registration->active_version());
EXPECT_EQ(ServiceWorkerVersion::ACTIVATING, new_version->status());
« no previous file with comments | « content/browser/service_worker/service_worker_browsertest.cc ('k') | media/base/android/media_codec_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698