mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-04-02 13:20:23 +02:00
Always assign |is_guest_view| in CefBrowserInfo::GetFrameForGlobalToken
This commit is contained in:
parent
d3a483ef59
commit
69fd43f789
@ -340,6 +340,10 @@ CefRefPtr<CefFrameHostImpl> 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user