[webkit-changes] [WebKit/WebKit] c94e71: Stop using CheckedPtr with GraphicsLayer
Chris Dumez
noreply at github.com
Tue Dec 19 18:51:55 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c94e713f78c210dbe7bff46e9711267812bf7766
https://github.com/WebKit/WebKit/commit/c94e713f78c210dbe7bff46e9711267812bf7766
Author: Chris Dumez <cdumez at 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
More information about the webkit-changes
mailing list