ServiceWorker: Remove unnecessary references to ServiceWorkerVersion
commit1d5d55b3939cdf058ce482373500ec00be2166bb
authornhiroki <nhiroki@chromium.org>
Fri, 16 Jan 2015 07:38:25 +0000 (15 23:38 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Jan 2015 07:40:10 +0000 (16 07:40 +0000)
tree716bf5aaa75d0730422e8ba0a0ad6f880c0fc4c5
parent0280cb6ec0c9158a01e2f484a6caa83d690b4e66
ServiceWorker: Remove unnecessary references to ServiceWorkerVersion

ServiceWorkerRegistrationHandle doesn't have to own references to the
associated workers because |registration_| owns them.

SetVersionAttributes() via OnRegistrafionFailed() might send an invalid
version info for the previously cleared attribute, but that's harmless
and just clears it again.

BUG=n/a
TEST=should pass all existing tests

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

Cr-Commit-Position: refs/heads/master@{#311852}
content/browser/service_worker/service_worker_registration_handle.cc
content/browser/service_worker/service_worker_registration_handle.h