Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: c94e713f78c210dbe7bff46e9711267812bf7766 https://github.com/WebKit/WebKit/commit/c94e713f78c210dbe7bff46e9711267812bf7766 Author: Chris Dumez <cdu...@apple.com> Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths: M Source/WebCore/platform/graphics/GraphicsLayer.h M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/GraphicsLayerCARemote.h M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.h M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.mm Log Message: ----------- Stop using CheckedPtr with GraphicsLayer https://bugs.webkit.org/show_bug.cgi?id=266663 Reviewed by Ryosuke Niwa. Stop using CheckedPtr with GraphicsLayer. Use WeakPtr instead to generate more actionable crashes in case of problem. * Source/WebCore/platform/graphics/GraphicsLayer.h: * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/GraphicsLayerCARemote.h: * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.h: * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeContext.mm: (WebKit::RemoteLayerTreeContext::~RemoteLayerTreeContext): (WebKit::RemoteLayerTreeContext::adoptLayersFromContext): (WebKit::RemoteLayerTreeContext::graphicsLayerDidEnterContext): (WebKit::RemoteLayerTreeContext::graphicsLayerWillLeaveContext): Canonical link: https://commits.webkit.org/272319@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes