mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Update generated files for int/char typedef removal (see #3507)
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
// implementations. See the translator.README.txt file in the tools directory
 | 
			
		||||
// for more information.
 | 
			
		||||
//
 | 
			
		||||
// $hash=459764183df818659c82a91a5bb1170ab02561ae$
 | 
			
		||||
// $hash=315497b4073b309e7976214a92204d6aede24fb1$
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
#include "libcef_dll/ctocpp/browser_ctocpp.h"
 | 
			
		||||
@@ -287,7 +287,7 @@ CefRefPtr<CefFrame> CefBrowserCToCpp::GetFocusedFrame() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
NO_SANITIZE("cfi-icall")
 | 
			
		||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(int64 identifier) {
 | 
			
		||||
CefRefPtr<CefFrame> CefBrowserCToCpp::GetFrame(int64_t identifier) {
 | 
			
		||||
  shutdown_checker::AssertNotShutdown();
 | 
			
		||||
 | 
			
		||||
  cef_browser_t* _struct = GetStruct();
 | 
			
		||||
@@ -342,7 +342,7 @@ NO_SANITIZE("cfi-icall") size_t CefBrowserCToCpp::GetFrameCount() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
NO_SANITIZE("cfi-icall")
 | 
			
		||||
void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64>& identifiers) {
 | 
			
		||||
void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64_t>& identifiers) {
 | 
			
		||||
  shutdown_checker::AssertNotShutdown();
 | 
			
		||||
 | 
			
		||||
  cef_browser_t* _struct = GetStruct();
 | 
			
		||||
@@ -355,12 +355,12 @@ void CefBrowserCToCpp::GetFrameIdentifiers(std::vector<int64>& identifiers) {
 | 
			
		||||
  // Translate param: identifiers; type: simple_vec_byref
 | 
			
		||||
  size_t identifiersSize = identifiers.size();
 | 
			
		||||
  size_t identifiersCount = std::max(GetFrameCount(), identifiersSize);
 | 
			
		||||
  int64* identifiersList = NULL;
 | 
			
		||||
  int64_t* identifiersList = NULL;
 | 
			
		||||
  if (identifiersCount > 0) {
 | 
			
		||||
    identifiersList = new int64[identifiersCount];
 | 
			
		||||
    identifiersList = new int64_t[identifiersCount];
 | 
			
		||||
    DCHECK(identifiersList);
 | 
			
		||||
    if (identifiersList) {
 | 
			
		||||
      memset(identifiersList, 0, sizeof(int64) * identifiersCount);
 | 
			
		||||
      memset(identifiersList, 0, sizeof(int64_t) * identifiersCount);
 | 
			
		||||
    }
 | 
			
		||||
    if (identifiersList && identifiersSize > 0) {
 | 
			
		||||
      for (size_t i = 0; i < identifiersSize; ++i) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user