Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 35b5d996abd860f1985f009634c683ce47c28798
https://github.com/WebKit/WebKit/commit/35b5d996abd860f1985f009634c683ce47c28798
Author: Tim Horton <[email protected]>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
M
Source/WebKit/Shared/RemoteLayerTree/DynamicContentScalingImageBufferBackend.mm
Log Message:
-----------
Null deref under DynamicContentScalingImageBufferBackend::createBackendHandle
https://bugs.webkit.org/show_bug.cgi?id=266723
rdar://119854411
Reviewed by Aditya Keerthi.
*
Source/WebKit/Shared/RemoteLayerTree/DynamicContentScalingImageBufferBackend.mm:
(WebKit::DynamicContentScalingImageBufferBackend::createBackendHandle const):
Add a null check, since we have evidence that we can be asked to make a backend
handle when nobody has painted into the layer. I'm not sure why, but it's
certainly
preferable to just not have a display list than to crash.
Canonical link: https://commits.webkit.org/272380@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes