DescriptionPepper: Always call status_cb in FileDownloader.
FileDownloader assumed that implementations of blink::WebURLLoader would always
call didFail and didFinishLoading, which is not the case. In the cases where
didFinishLoading was not called, FileDownloader would never run the status
callback, preventing any error reporting from happening.
This change deletes the implementation of blink::WebURLLoader in didFail and
invokes status_cb, allowing error reporting to work properly, and for memory to
be cleaned up.
BUG=440180
Committed: https://crrev.com/d800932db8b677c81d8c5d2f0e704168dba03c75
Cr-Commit-Position: refs/heads/master@{#315649}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|