Index: content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc b/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
index 376ffa218fa6cd075a66fd4fa14b662340c75310..c491222a5689c51cb5e9cdb909c9c8c0d8d9914a 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
+++ b/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
@@ -632,14 +632,16 @@ TEST_F(ServiceWorkerDispatcherHostTest, CleanupOnRendererCrash) { |
EXPECT_EQ(SERVICE_WORKER_OK, status); |
EXPECT_TRUE(context()->GetProviderHost(process_id, provider_id)); |
- EXPECT_EQ(ServiceWorkerVersion::RUNNING, version_->running_status()); |
+ EXPECT_EQ(ServiceWorkerVersion::RunningStatus::RUNNING, |
+ version_->running_status()); |
// Simulate the render process crashing. |
dispatcher_host_->OnFilterRemoved(); |
// The dispatcher host should clean up the state from the process. |
EXPECT_FALSE(context()->GetProviderHost(process_id, provider_id)); |
- EXPECT_EQ(ServiceWorkerVersion::STOPPED, version_->running_status()); |
+ EXPECT_EQ(ServiceWorkerVersion::RunningStatus::STOPPED, |
+ version_->running_status()); |
// We should be able to hook up a new dispatcher host although the old object |
// is not yet destroyed. This is what the browser does when reusing a crashed |