Always assign |is_guest_view| in CefBrowserInfo::GetFrameForGlobalToken

This commit is contained in:
Shezan Baig 2024-02-05 16:31:04 +00:00 committed by Marshall Greenblatt
parent 3d83c932f1
commit 114665f178
1 changed files with 4 additions and 0 deletions

View File

@ -340,6 +340,10 @@ CefRefPtr<CefFrameHostImpl> CefBrowserInfo::GetFrameForGlobalToken(
const content::GlobalRenderFrameHostToken& global_token, const content::GlobalRenderFrameHostToken& global_token,
bool* is_guest_view, bool* is_guest_view,
bool prefer_speculative) const { bool prefer_speculative) const {
if (is_guest_view) {
*is_guest_view = false;
}
if (!frame_util::IsValidGlobalToken(global_token)) { if (!frame_util::IsValidGlobalToken(global_token)) {
return nullptr; return nullptr;
} }