Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Null deref under DynamicContentScalingImageBufferBackend::createBacke…
…ndHandle 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
- Loading branch information