ResourceDispatcherHost: be more paranoid about null checking
Currently code on the UI thread checks to see if the RDH is available, then posts a task to it on the IO thread. By the time the IO task is posted, the RDH could be shut down or even destroyed. This CL makes some of the UI -> IO hops from RenderViewHost do all the shutdown checking on the IO thread. Bug: 901468 Change-Id: I5077e70200b0da2824d1d0c1128d5d0ac614cd66 Reviewed-on: https://chromium-review.googlesource.com/c/1323409Reviewed-by:Matt Menke <mmenke@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#606120}
Showing
Please register or sign in to comment