mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 122.0.6261.0 (#1250580)
Frame identifiers have changed from int64_t to string type. This is due to https://crbug.com/1502660 which removes access to frame routing IDs in the renderer process. New cross-process frame identifiers are 160-bit values (32-bit child process ID + 128-bit local frame token) and most easily represented as strings. All other frame-related expectations and behaviors remain the same.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
// implementations. See the translator.README.txt file in the tools directory
|
||||
// for more information.
|
||||
//
|
||||
// $hash=2ae26d9398bc7ed5b997aa5dae4811c74395808e$
|
||||
// $hash=1edf2a7d9f2dc18f4422c9651554577735b83b66$
|
||||
//
|
||||
|
||||
#include "libcef_dll/cpptoc/frame_cpptoc.h"
|
||||
@ -311,21 +311,22 @@ cef_string_userfree_t CEF_CALLBACK frame_get_name(struct _cef_frame_t* self) {
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
int64_t CEF_CALLBACK frame_get_identifier(struct _cef_frame_t* self) {
|
||||
cef_string_userfree_t CEF_CALLBACK
|
||||
frame_get_identifier(struct _cef_frame_t* self) {
|
||||
shutdown_checker::AssertNotShutdown();
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
DCHECK(self);
|
||||
if (!self) {
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Execute
|
||||
int64_t _retval = CefFrameCppToC::Get(self)->GetIdentifier();
|
||||
CefString _retval = CefFrameCppToC::Get(self)->GetIdentifier();
|
||||
|
||||
// Return type: simple
|
||||
return _retval;
|
||||
// Return type: string
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
struct _cef_frame_t* CEF_CALLBACK frame_get_parent(struct _cef_frame_t* self) {
|
||||
|
Reference in New Issue
Block a user