Bug 284787

Summary: Fix clang static analyzer warning in RemoteLayerTreeEventDispatcher::drawingAreaMac
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: New BugsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2024-12-16 16:22:08 PST
RemoteLayerTreeEventDispatcher::drawingAreaMac() should use downcast, which contains release assert instead of using dynamicDowncast and unconditionally dereferencing it in release builds.
Attachments
Ryosuke Niwa
Comment 1 2024-12-16 16:25:43 PST
EWS
Comment 2 2024-12-17 10:37:45 PST
Committed 287953@main (cda4b5fd08c5): <https://commits.webkit.org/287953@main> Reviewed commits have been landed. Closing PR #38043 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-12-17 10:40:15 PST
Note You need to log in before you can comment on or make changes to this bug.