Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4126415cbc73136c10377c7fc472c84b6a675a8b
      
https://github.com/WebKit/WebKit/commit/4126415cbc73136c10377c7fc472c84b6a675a8b
  Author: Zak Ridouh <[email protected]>
  Date:   2026-10-11 (Sun, 11 Oct 2026)

  Changed paths:
    M Source/WebCore/accessibility/AXAnnouncementTypes.h
    M Source/WebCore/accessibility/AXFormActivityMonitor.cpp
    M Source/WebCore/accessibility/AXObjectCache.h
    M Source/WebCore/accessibility/AXObjectTypes.h
    M Source/WebCore/accessibility/AXUtilities.cpp
    M Source/WebCore/accessibility/AccessibilityObject.h
    M Source/WebCore/editing/TextIterator.cpp
    M Source/WebCore/editing/TextIterator.h
    M Source/WebCore/editing/VisiblePosition.cpp
    M Source/WebCore/html/HTMLElement.cpp
    M Source/WebCore/html/HTMLSelectElement.cpp
    M Source/WebCore/rendering/HitTestResult.cpp
    M Source/WebCore/rendering/RenderMenuList.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdater.cpp
    M Source/WebCore/style/StyleTreeResolver.cpp
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/WebProcess/WebCoreSupport/WebEditorClient.cpp

  Log Message:
  -----------
  Include lighter accessibility headers in IPC code and AccessibilityObject.h
https://bugs.webkit.org/show_bug.cgi?id=326488
rdar://problem/189272395

Reviewed by Ryosuke Niwa.

WebPageMessages.h and WebPageProxyMessages.h included AXObjectCache.h through
the IPC mappings of a few small types, AccessibilityObject.h included
TextIterator.h, and TextIterator.h included 
InlineIteratorLogicalOrderTraversal.h.
This saves about 0.8-1.2 CPU-minutes per clean build; the object files that
depend on AXObjectCache.h drop from 71 to 39, and on TextIterator.h from 91 to
50.

* Source/WebCore/accessibility/AXAnnouncementTypes.h:
Move AriaNotifyData and LiveRegionAnnouncementData here, unchanged.
* Source/WebCore/accessibility/AXFormActivityMonitor.cpp:
Include what this file uses.
* Source/WebCore/accessibility/AXObjectCache.h:
* Source/WebCore/accessibility/AXObjectTypes.h:
Move AXDebugInfo and AXFrameGeometry here, unchanged.
* Source/WebCore/accessibility/AXUtilities.cpp:
Include what this file uses.
* Source/WebCore/accessibility/AccessibilityObject.h:
Include TextIteratorBehavior.h and forward-declare TextIterator instead of
including TextIterator.h.
* Source/WebCore/editing/TextIterator.cpp:
* Source/WebCore/editing/TextIterator.h:
Forward-declare InlineIterator::TextLogicalOrderCacheData instead of including
InlineIteratorLogicalOrderTraversal.h.
* Source/WebCore/editing/VisiblePosition.cpp:
* Source/WebCore/html/HTMLElement.cpp:
* Source/WebCore/html/HTMLSelectElement.cpp:
* Source/WebCore/rendering/HitTestResult.cpp:
* Source/WebCore/rendering/RenderMenuList.cpp:
* Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:
* Source/WebCore/style/StyleTreeResolver.cpp:
Include what these files use.
* Source/WebKit/Scripts/webkit/messages.py:
(headers_for_type):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Point the accessibility types at the light headers that declare them.
* Source/WebKit/WebProcess/WebCoreSupport/WebEditorClient.cpp:
Include AttributedString.h, which this file got through AXObjectCache.h.

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



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

Reply via email to