| 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());
|
|
|