Fix crash in ServiceWorkerDispatcherHost
commitd8905bf21dcb6979b07da39f017bb72659fc3041
authorksakamoto <ksakamoto@chromium.org>
Thu, 5 Mar 2015 04:01:35 +0000 (4 20:01 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Mar 2015 04:02:12 +0000 (5 04:02 +0000)
tree3c50efec31e42cc4db24da480067c36d23f3356a
parentf5ac85a3a52b67adfac27fe0ec07d1cf2cff4a84
Fix crash in ServiceWorkerDispatcherHost

This fixes the browser crash that happens when ServiceWorkerContextCore
has no live registration corresponding to the live version.
This is a quick fix intended to be mergeable.

BUG=459916

Review URL: https://codereview.chromium.org/982743002

Cr-Commit-Position: refs/heads/master@{#319214}
content/browser/service_worker/service_worker_dispatcher_host.cc