Index: content/browser/service_worker/service_worker_job_coordinator.cc |
diff --git a/content/browser/service_worker/service_worker_job_coordinator.cc b/content/browser/service_worker/service_worker_job_coordinator.cc |
index 54542b2d7153bc9dd7008134f12387787807cd53..916d7147eac0c57d462e1aea292cd9c5b81db7f3 100644 |
--- a/content/browser/service_worker/service_worker_job_coordinator.cc |
+++ b/content/browser/service_worker/service_worker_job_coordinator.cc |
@@ -133,7 +133,6 @@ void ServiceWorkerJobCoordinator::Update( |
ServiceWorkerRegistration* registration, |
bool force_bypass_cache) { |
DCHECK(registration); |
- DCHECK(registration->GetNewestVersion()); |
job_queues_[registration->pattern()].Push( |
base::WrapUnique<ServiceWorkerRegisterJobBase>( |
new ServiceWorkerRegisterJob(context_, registration, |
@@ -148,7 +147,6 @@ void ServiceWorkerJobCoordinator::Update( |
ServiceWorkerProviderHost* provider_host, |
const ServiceWorkerRegisterJob::RegistrationCallback& callback) { |
DCHECK(registration); |
- DCHECK(registration->GetNewestVersion()); |
ServiceWorkerRegisterJob* queued_job = static_cast<ServiceWorkerRegisterJob*>( |
job_queues_[registration->pattern()].Push( |
base::WrapUnique<ServiceWorkerRegisterJobBase>( |