From 114665f1789f5477ef97c1a253c6b0bf673488ea Mon Sep 17 00:00:00 2001 From: Shezan Baig Date: Mon, 5 Feb 2024 16:31:04 +0000 Subject: [PATCH] Always assign |is_guest_view| in CefBrowserInfo::GetFrameForGlobalToken --- libcef/browser/browser_info.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcef/browser/browser_info.cc b/libcef/browser/browser_info.cc index 412b9ca45..931cf0b21 100644 --- a/libcef/browser/browser_info.cc +++ b/libcef/browser/browser_info.cc @@ -340,6 +340,10 @@ CefRefPtr CefBrowserInfo::GetFrameForGlobalToken( const content::GlobalRenderFrameHostToken& global_token, bool* is_guest_view, bool prefer_speculative) const { + if (is_guest_view) { + *is_guest_view = false; + } + if (!frame_util::IsValidGlobalToken(global_token)) { return nullptr; }