[webkit-changes] [WebKit/WebKit] dec32d: Make type casts in RemoteLayerTreePropertyApplier....

Ryosuke Niwa noreply at github.com
Tue Feb 4 11:40:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dec32d4d22199816744642b9450f5b41a3bc57ea
      https://github.com/WebKit/WebKit/commit/dec32d4d22199816744642b9450f5b41a3bc57ea
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M Source/WebCore/PAL/pal/cocoa/CoreMaterialSoftLink.h
    M Source/WebKit/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm

  Log Message:
  -----------
  Make type casts in RemoteLayerTreePropertyApplier.mm safe
https://bugs.webkit.org/show_bug.cgi?id=286971

Reviewed by Aditya Keerthi and Geoffrey Garen.

Use dynamic_objc_cast in more places to address static analyzer warnings.

* Source/WebCore/PAL/pal/cocoa/CoreMaterialSoftLink.h:
* Source/WebKit/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::RemoteLayerTreePropertyApplier::applyPropertiesToLayer):

Canonical link: https://commits.webkit.org/289812@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list