SimpleURLLoader: Make downloaded file path accessible after destruction.
When downloading to a file, if code deleted the SimpleURLLoader on completion, and then tried to access the FilePath object passed to them by the SimpleURLLoader, they're run into a use-after-free. This CL fixes that. Bug: 835963 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I8b840544be743aa979145bf46c8d35de4b25c12c Reviewed-on: https://chromium-review.googlesource.com/1024694 Commit-Queue: Matt Menke <mmenke@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Maks Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/master@{#553745}
Showing
Please register or sign in to comment