service worker: Reset fallback callback when navigation goes away
crrev.com/c/1717885 was a workaround to fix use-after-free of URLLoaderRequestController. This CL reverts the workaround. This CL makes ServiceWorkerNavigationLoader reset fallback callback when the controller is destructed. This way we won't touch a stale controller. Bug: 989404 Change-Id: Icf24e22b6fe5a3a6f29ccca95b21eb4233dab3b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730409 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#683407}
Showing
Please register or sign in to comment