Allow an empty |download_path| argument to CefBeforeDownloadCallback::Continue (issue #516).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@716 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-06-28 17:46:40 +00:00
parent 421001ba9d
commit 0c81037621
3 changed files with 3 additions and 9 deletions

View File

@ -23,10 +23,7 @@ void CEF_CALLBACK before_download_callback_cont(
DCHECK(self);
if (!self)
return;
// Verify param: download_path; type: string_byref_const
DCHECK(download_path);
if (!download_path)
return;
// Unverified params: download_path
// Execute
CefBeforeDownloadCallbackCppToC::Get(self)->Continue(