Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5039282ca9e8eab0b07dcba6a5b8d0c217053d6
      
https://github.com/WebKit/WebKit/commit/f5039282ca9e8eab0b07dcba6a5b8d0c217053d6
  Author: Anthony Tarbinian <[email protected]>
  Date:   2025-10-02 (Thu, 02 Oct 2025)

  Changed paths:
    M 
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
    M Source/WebCore/accessibility/AccessibilityScrollView.cpp
    M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp

  Log Message:
  -----------
  [SaferCPP] Fix some lambda captures in WebCore accessibility
https://bugs.webkit.org/show_bug.cgi?id=299993
rdar://161779222

Reviewed by Tyler Wilcock.

Lambda capture warnings such as "Implicitly captured raw-pointer 'this' to 
uncounted
type is unsafe" and "Captured raw-pointer 'this' to uncounted type is unsafe" in
AccessibilityScrollView.cpp and AXIsolatedTree.cpp.

Captures this after making it Ref counted in capture initialization.

* 
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
* Source/WebCore/accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::addRemoteFrameChild):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::updatePropertiesForSelfAndDescendants):
(WebCore::AXIsolatedTree::applyPendingChangesLocked):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to