Always pass callback object to CefRequestHandler::OnCertificateError (issue #1795)

This commit is contained in:
Marshall Greenblatt
2016-01-27 12:57:48 -05:00
parent 63d313de76
commit c3d80a5658
3 changed files with 9 additions and 12 deletions

View File

@ -265,10 +265,9 @@ class CefRequestHandler : public virtual CefBase {
// Called on the UI thread to handle requests for URLs with an invalid
// SSL certificate. Return true and call CefRequestCallback::Continue() either
// in this method or at a later time to continue or cancel the request. Return
// false to cancel the request immediately. If |callback| is empty the error
// cannot be recovered from and the request will be canceled automatically.
// If CefSettings.ignore_certificate_errors is set all invalid certificates
// will be accepted without calling this method.
// false to cancel the request immediately. If
// CefSettings.ignore_certificate_errors is set all invalid certificates will
// be accepted without calling this method.
///
/*--cef()--*/
virtual bool OnCertificateError(