Ensure ServiceWorkerContextWrapper is deleted on the UI thread
ServiceWorkerContextWrapper's observer methods are supposed to always be dispatched on the UI thread. This CL ensures this is true with additional DCHECKs and adds the DeleteOnUIThread custom deleter because observers are also notified in the destructor. Bug: 993029 Change-Id: I10c7baa6a908e61ea50a00486d0e3bae81e7e32c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841765Reviewed-by:Matt Falkenhagen <falken@chromium.org> Commit-Queue: Patrick Monette <pmonette@chromium.org> Cr-Commit-Position: refs/heads/master@{#703413}
Showing
Please register or sign in to comment