CefRequestHandler::GetAuthCredentials |scheme| argument is optional for FTP sources (issue #1794)

This commit is contained in:
Marshall Greenblatt
2015-12-17 13:24:14 -05:00
parent ae25a352d0
commit 07e845ed31
4 changed files with 17 additions and 19 deletions

View File

@ -332,15 +332,11 @@ int CEF_CALLBACK request_handler_get_auth_credentials(
DCHECK(host);
if (!host)
return 0;
// Verify param: scheme; type: string_byref_const
DCHECK(scheme);
if (!scheme)
return 0;
// Verify param: callback; type: refptr_diff
DCHECK(callback);
if (!callback)
return 0;
// Unverified params: realm
// Unverified params: realm, scheme
// Execute
bool _retval = CefRequestHandlerCppToC::Get(self)->GetAuthCredentials(