[webkit-changes] [WebKit/WebKit] 93760c: [Site Isolation][iOS] Remove hosted layer as subvi...
Sihui
noreply at github.com
Mon Feb 19 15:14:50 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 93760c4cbf98e14ebf2f588b5f1a1ebe03de4689
https://github.com/WebKit/WebKit/commit/93760c4cbf98e14ebf2f588b5f1a1ebe03de4689
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list