Update source files for bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:59:03 -05:00
parent d84b07a5cb
commit 3af3eab3e4
366 changed files with 7275 additions and 3834 deletions

View File

@ -29,8 +29,9 @@ CEF_EXPORT int cef_string_list_value(cef_string_list_t list,
DCHECK(value);
StringList* impl = reinterpret_cast<StringList*>(list);
DCHECK_LT(index, impl->size());
if (index >= impl->size())
if (index >= impl->size()) {
return false;
}
const CefString& str = (*impl)[index];
return cef_string_copy(str.c_str(), str.length(), value);
}