-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Site Isolation][iOS] Remove hosted layer as subview instead of sublayer
https://bugs.webkit.org/show_bug.cgi?id=269610 rdar://123113647 Reviewed by Alex Christensen. On iOS, RemoteLayerTreeNode is backed by UIView, so we should modify remote layer tree by updating the hierachy of UIView. This patch also adds a helper function to avoid this issue in the future. * Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm: (WebKit::RemoteLayerTreeHost::updateLayerTree): (WebKit::RemoteLayerTreeHost::createLayer): (WebKit::RemoteLayerTreeHost::remotePageProcessCrashed): * Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h: * Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm: (WebKit::RemoteLayerTreeNode::addToHostingNode): (WebKit::RemoteLayerTreeNode::removeFromHostingNode): Canonical link: https://commits.webkit.org/275004@main
- Loading branch information
1 parent
4fc58fd
commit 93760c4
Showing
3 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters