[content] Use scoped_refptr<SequencedTaskRunner> in BrowserMessageFilter.
All interfaces should use scoped_refptr<SequencedTaskRunner> for passing refcounted objects, which includes the task runners. This is due to the fact that the embedder should be able to return the only reference to the object and should not be forced to keep it alive. R=clamy@chromium.org,gab@chromium.org TBR=ddorwin@chromium.org BUG=937336 Change-Id: I61a7b3c6e97b3c1ede4a2b462a2204d5437d1ed4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1634866Reviewed-by:Camille Lamy <clamy@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Reviewed-by:
Daniel Murphy <dmurph@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Reviewed-by:
Xiaohan Wang <xhwang@chromium.org> Commit-Queue: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#665575}
Showing
Please register or sign in to comment