Bug 284787
| Summary: | Fix clang static analyzer warning in RemoteLayerTreeEventDispatcher::drawingAreaMac | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | New Bugs | Assignee: | 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
RemoteLayerTreeEventDispatcher::drawingAreaMac() should use downcast,
which contains release assert instead of using dynamicDowncast
and unconditionally dereferencing it in release builds.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/38043
EWS
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
<rdar://problem/141627256>