Update generated files for int/char typedef removal (see #3507)

This commit is contained in:
Marshall Greenblatt
2023-06-01 17:07:20 +03:00
parent 5042d71408
commit b854992ae6
102 changed files with 377 additions and 375 deletions

View File

@@ -22,7 +22,7 @@ size_t CefByteReadHandler::Read(void* ptr, size_t size, size_t n) {
return ret;
}
int CefByteReadHandler::Seek(int64 offset, int whence) {
int CefByteReadHandler::Seek(int64_t offset, int whence) {
int rv = -1L;
base::AutoLock lock_scope(lock_);
switch (whence) {
@@ -35,9 +35,9 @@ int CefByteReadHandler::Seek(int64 offset, int whence) {
break;
case SEEK_END: {
#if defined(OS_WIN)
int64 offset_abs = _abs64(offset);
int64_t offset_abs = _abs64(offset);
#else
int64 offset_abs = std::abs(offset);
int64_t offset_abs = std::abs(offset);
#endif
if (offset_abs > size_) {
break;
@@ -58,7 +58,7 @@ int CefByteReadHandler::Seek(int64 offset, int whence) {
return rv;
}
int64 CefByteReadHandler::Tell() {
int64_t CefByteReadHandler::Tell() {
base::AutoLock lock_scope(lock_);
return offset_;
}