Update generated files for check C API structure sizes (fixes issue #3238)

This commit is contained in:
Sergey Markelov
2022-01-27 10:10:29 -07:00
committed by Marshall Greenblatt
parent 5c0895e27f
commit ce891b57e1
18 changed files with 196 additions and 18 deletions

View File

@ -9,13 +9,14 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=0009ced13fa9f1e26064455df0c9f5043d7618cf$
// $hash=1a7a3f0cd61dab86aae86ca54e5554671d1850b7$
//
#include "libcef_dll/cpptoc/views/textfield_delegate_cpptoc.h"
#include "libcef_dll/ctocpp/views/textfield_ctocpp.h"
#include "libcef_dll/ctocpp/views/view_ctocpp.h"
#include "libcef_dll/shutdown_checker.h"
#include "libcef_dll/template_util.h"
namespace {
@ -40,6 +41,10 @@ textfield_delegate_on_key_event(struct _cef_textfield_delegate_t* self,
DCHECK(event);
if (!event)
return 0;
if (!template_util::has_valid_size(event)) {
NOTREACHED() << "invalid event->[base.]size";
return 0;
}
// Translate param: event; type: struct_byref_const
CefKeyEvent eventObj;