From a0d7223f7f316fa8ac48139e92b66b570860bf3c Mon Sep 17 00:00:00 2001 From: Ross Kirsling Date: Tue, 6 Jun 2023 19:04:41 -0700 Subject: [PATCH] Fix !ENABLE(ACCESSIBILITY) build following 264911@main https://bugs.webkit.org/show_bug.cgi?id=257772 Unreviewed build fix. * Source/WebCore/accessibility/AXObjectCache.h: (WebCore::AXObjectCache::onTextCompositionChange): (WebCore::AXObjectCache::textCompositionObjectForNode): Add missing stubs. Canonical link: https://commits.webkit.org/264917@main --- Source/WebCore/accessibility/AXObjectCache.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/WebCore/accessibility/AXObjectCache.h b/Source/WebCore/accessibility/AXObjectCache.h index fab037a2186dc..62c5719d29aaf 100644 --- a/Source/WebCore/accessibility/AXObjectCache.h +++ b/Source/WebCore/accessibility/AXObjectCache.h @@ -714,6 +714,7 @@ inline void AXObjectCache::onSelectedChanged(Node*) { } inline void AXObjectCache::onTextSecurityChanged(HTMLInputElement&) { } inline void AXObjectCache::onTitleChange(Document&) { } inline void AXObjectCache::onValidityChange(Element&) { } +inline void AXObjectCache::onTextCompositionChange(Node&) { } inline void AXObjectCache::valueChanged(Element*) { } inline void AXObjectCache::onFocusChange(Node*, Node*) { } inline void AXObjectCache::onPopoverTargetToggle(const HTMLFormControlElement&) { } @@ -762,6 +763,7 @@ inline void AXObjectCache::updateLoadingProgress(double) { } inline SimpleRange AXObjectCache::rangeForNodeContents(Node& node) { return makeRangeSelectingNodeContents(node); } inline std::optional> AXObjectCache::relatedObjectIDsFor(const AXCoreObject&, AXRelationType) { return std::nullopt; } inline void AXObjectCache::updateRelations(Element&, const QualifiedName&) { } +inline AccessibilityObject* AXObjectCache::textCompositionObjectForNode(Node&) { return nullptr; } inline void AXObjectCache::remove(AXID) { } inline void AXObjectCache::remove(RenderObject*) { } inline void AXObjectCache::remove(Node&) { }