Remove incorrect thread restriction on ExtensionSWMessageFilter dtor.
ExtensionServiceWorkerMessageFilter is constructed on UI and it *often* gets destroyed in IO thread, but there is no such gurantee. It is possible for it to be destroyed on UI thread as it also handles handful of messages on UI thread. Remove the IO thread restriction, also add DCHECK in constructor. Bug: None Change-Id: I15ec9ecd347c44a8fc8fdea031f72b27689190b2 Reviewed-on: https://chromium-review.googlesource.com/1231695Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#592218}
Showing
Please register or sign in to comment