Allow empty value param to CefSetCrashKeyValue (issue #1995)

This commit is contained in:
Marshall Greenblatt
2017-02-08 12:35:21 -05:00
parent aa398d8798
commit 9dd0ca2661
3 changed files with 3 additions and 9 deletions

View File

@@ -403,10 +403,7 @@ CEF_GLOBAL void CefSetCrashKeyValue(const CefString& key,
DCHECK(!key.empty());
if (key.empty())
return;
// Verify param: value; type: string_byref_const
DCHECK(!value.empty());
if (value.empty())
return;
// Unverified params: value
// Execute
cef_set_crash_key_value(