fix: pass rfh instances through to the permission helper (#35419)
* fix: pass rfh instances through to the permission helper * refactor: use WeakDocumentPtr instead of frame node id * fix: handle missing initiator document * fix: dispatch openExternal event for top level webview navs still
This commit is contained in:
parent
8128fa6d85
commit
f65b05b8cc
5 changed files with 38 additions and 11 deletions
|
@ -1312,7 +1312,7 @@ void WebContents::EnterFullscreenModeForTab(
|
|||
auto callback =
|
||||
base::BindRepeating(&WebContents::OnEnterFullscreenModeForTab,
|
||||
base::Unretained(this), requesting_frame, options);
|
||||
permission_helper->RequestFullscreenPermission(callback);
|
||||
permission_helper->RequestFullscreenPermission(requesting_frame, callback);
|
||||
}
|
||||
|
||||
void WebContents::OnEnterFullscreenModeForTab(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue