From f72afb713ac6c8f0981d30a8513a8aa0ad5792ea Mon Sep 17 00:00:00 2001 From: David Cernoch Date: Tue, 18 Mar 2025 15:44:00 +0000 Subject: [PATCH] Make PrintToPDF `path` parameter optional (fixes #3879) --- include/cef_browser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cef_browser.h b/include/cef_browser.h index 70f684d8f..3301d51a8 100644 --- a/include/cef_browser.h +++ b/include/cef_browser.h @@ -249,7 +249,7 @@ class CefPdfPrintCallback : public virtual CefBaseRefCounted { /// is the output path. |ok| will be true if the printing completed /// successfully or false otherwise. /// - /*--cef()--*/ + /*--cef(optional_param=path)--*/ virtual void OnPdfPrintFinished(const CefString& path, bool ok) = 0; };