Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f518cd6ec326624d90cf96840d963f23d543e85
      
https://github.com/WebKit/WebKit/commit/4f518cd6ec326624d90cf96840d963f23d543e85
  Author: Tyler Wilcock <[email protected]>
  Date:   2025-08-12 (Tue, 12 Aug 2025)

  Changed paths:
    M Source/WebCore/accessibility/isolatedtree/mac/AXIsolatedObjectMac.mm
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.h
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm

  Log Message:
  -----------
  AX: WebAccessibilityObjectWrapperBase::_identifier isn't a very useful field 
and causes every wrapper to be 8 bytes larger than necessary
https://bugs.webkit.org/show_bug.cgi?id=297253
rdar://158085042

Reviewed by Joshua Hoffman.

Remove this unnecessary field. The limited utility it had can be expressed in 
terms of the other member variables.

This reduces the size of every iOS and macOS wrapper from 48 bytes to 40 bytes.

* Source/WebCore/accessibility/isolatedtree/mac/AXIsolatedObjectMac.mm:
(WebCore::AXIsolatedObject::attachPlatformWrapper):
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.h:
* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
(-[WebAccessibilityObjectWrapperBase attachAXObject:]):
(-[WebAccessibilityObjectWrapperBase attachIsolatedObject:]):
(-[WebAccessibilityObjectWrapperBase detach]):

Canonical link: https://commits.webkit.org/298566@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