Fix DCHECK crash in CheckClientDownloadRequest::OnDownloadDestroyed
For some rare cases, service_ in CheckClientDownloadRequest is already set to null when OnDownloadDestroyed is called, which as a result will make item_ still dangle there, and causes crash at the DCHECK(item_==NULL). Bug: 806785 Change-Id: I384f66ca94d6695d870a632d52b9be26a0f9a3a3 Reviewed-on: https://chromium-review.googlesource.com/891808Reviewed-by:Jialiu Lin <jialiul@chromium.org> Reviewed-by:
Luke Z <lpz@chromium.org> Commit-Queue: Jialiu Lin <jialiul@chromium.org> Cr-Commit-Position: refs/heads/master@{#532973}
Showing
Please register or sign in to comment