| 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 14729cbc103eba71f56d6e75e3866988f4e69a80..c2579bbfa174d2edd15c7c6171377099db1aaeb4 100644
|
| --- a/content/browser/service_worker/service_worker_job_unittest.cc
|
| +++ b/content/browser/service_worker/service_worker_job_unittest.cc
|
| @@ -657,6 +657,7 @@ TEST_F(ServiceWorkerJobTest, UnregisterWaitingSetsRedundant) {
|
| base::RunLoop().RunUntilIdle();
|
| ASSERT_EQ(SERVICE_WORKER_OK, status);
|
|
|
| + version->set_has_fetch_handler(true);
|
| version->SetStatus(ServiceWorkerVersion::INSTALLED);
|
| registration->SetWaitingVersion(version);
|
| EXPECT_EQ(EmbeddedWorkerStatus::RUNNING, version->running_status());
|
| @@ -1593,13 +1594,13 @@ TEST_F(ServiceWorkerJobTest, HasFetchHandler) {
|
| helper->set_has_fetch_handler(true);
|
| RunRegisterJob(pattern, script);
|
| registration = FindRegistrationForPattern(pattern);
|
| - EXPECT_TRUE(registration->active_version()->has_fetch_handler());
|
| + EXPECT_TRUE(registration->active_version()->has_fetch_handler().value());
|
| RunUnregisterJob(pattern);
|
|
|
| helper->set_has_fetch_handler(false);
|
| RunRegisterJob(pattern, script);
|
| registration = FindRegistrationForPattern(pattern);
|
| - EXPECT_FALSE(registration->active_version()->has_fetch_handler());
|
| + EXPECT_FALSE(registration->active_version()->has_fetch_handler().value());
|
| RunUnregisterJob(pattern);
|
| }
|
|
|
|
|