ServiceWorker: Remove a refptr to SWRegistration from SWHandle
commit41824e325a5dac58540d7a16d64a89f7ba743c87
authornhiroki <nhiroki@chromium.org>
Thu, 22 Jan 2015 15:00:17 +0000 (22 07:00 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 22 Jan 2015 15:01:01 +0000 (22 15:01 +0000)
tree2f26619e08ac4a3937ac7a368a52168e4e292a15
parent9baf2a72a06fedd4dc84e196078dac1de24fd4a2
ServiceWorker: Remove a refptr to SWRegistration from SWHandle

ServiceWorker object can exist independently of ServiceWorkerRegistration
(imagine a redundant worker detached from a registration), so we don't
have to ensure the liveness of the registration.

BUG=n/a
TEST=run-webkit-tests http/tests/serviceworker/
TEST=content_unittests --gtest_filter=ServiceWorker*

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

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