commit | b76d5e11df4955210c8634da71836f31762186c9 | [log] [tgz] |
---|---|---|
author | haraken <haraken@chromium.org> | Wed Dec 14 09:53:50 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Dec 14 09:56:49 2016 |
tree | 4582250316e93b34e9838d983472770f60b790ac | |
parent | 054f7b1e4a7b3bbf8b1effb31ae4620918fe8787 [diff] |
Remove ContextLifecycleObserver from NavigatorServiceWorker NavigatorServiceWorker needs to reset m_serviceWorker when the context gets destroyed. This CL makes ServiceWorkerContainer do the reset work and removes ContextLifecycleObserver from NavigatorServiceWorker. See the discussion on the CL for more rationale. BUG=610176 Review-Url: https://codereview.chromium.org/2556893003 Cr-Commit-Position: refs/heads/master@{#438475}