cefclient: Allow download with --hide-controls (fixes #3742)

This commit is contained in:
Marshall Greenblatt 2024-07-17 15:03:02 -04:00
parent 69fbadd0bc
commit cbbca050e0
1 changed files with 0 additions and 6 deletions

View File

@ -822,12 +822,6 @@ bool ClientHandler::CanDownload(CefRefPtr<CefBrowser> browser,
const CefString& request_method) {
CEF_REQUIRE_UI_THREAD();
if (!with_controls_) {
// Block the download.
LOG(INFO) << "Blocking download";
return false;
}
// Allow the download.
return true;
}