Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unreviewed. Fix Soup downloads after r201943.
This is a follow up of r201943. The DownloadClient used in DownloadSoup was not updated to the new API of the ResourceHandleClient because it was not using override on the virtual methods, so it was unnoticed. That broke the downloads soup implementation, because didReceiveResponse is no longer used in the DownloadClient. This patch updates the DownloadClient to the new ResourceHandleClient API adding also override to all the virtual methods to prevent this from happening in the future. * NetworkProcess/Downloads/soup/DownloadSoup.cpp: (WebKit::Download::start): (WebKit::Download::startWithHandle): (WebKit::DownloadClient::DownloadClient): (WebKit::DownloadClient::downloadFailed): (WebKit::DownloadClient::didReceiveResponse): (WebKit::DownloadClient::didReceiveData): (WebKit::DownloadClient::didFinishLoading): (WebKit::DownloadClient::didFail): (WebKit::DownloadClient::wasBlocked): Deleted. (WebKit::DownloadClient::cannotShowURL): Deleted. (WebKit::DownloadClient::cancel): (WebKit::DownloadClient::handleResponse): Canonical link: https://commits.webkit.org/176815@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
4759e3c
commit e22b8b4
Showing
2 changed files
with
50 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters