Better error handling in MakeCopyOfDownloadFile().
If base::CreateTemporaryFile() fails, the caller should not try to use its out parameter. Change-Id: Ibd301e5dbeb173246c5b540c37417ea9ddc1513a Reviewed-on: https://chromium-review.googlesource.com/688226Reviewed-by:Jialiu Lin <jialiul@chromium.org> Reviewed-by:
Min Qin <qinmin@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#505063}
Showing
Please register or sign in to comment