summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/service_worker/service_worker_dispatcher_host.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc
index 2de8b88..ad56cdd 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc
@@ -772,9 +772,6 @@ void ServiceWorkerDispatcherHost::OnSetHostedVersionId(
ServiceWorkerRegistration* registration =
GetContext()->GetLiveRegistration(version->registration_id());
DCHECK(registration);
- // TODO(ksakamoto): This is a quick fix for crbug.com/459916.
- if (!registration)
- return;
// Set the document URL to the script url in order to allow
// register/unregister/getRegistration on ServiceWorkerGlobalScope.