From cbbca050e08cc44244d37aa50209dc38687b17ae Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 17 Jul 2024 15:03:02 -0400 Subject: [PATCH] cefclient: Allow download with --hide-controls (fixes #3742) --- tests/cefclient/browser/client_handler.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/cefclient/browser/client_handler.cc b/tests/cefclient/browser/client_handler.cc index 2df950b2a..030497fae 100644 --- a/tests/cefclient/browser/client_handler.cc +++ b/tests/cefclient/browser/client_handler.cc @@ -822,12 +822,6 @@ bool ClientHandler::CanDownload(CefRefPtr 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; }