diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile index 324174735da9..9b17caf2dcf8 100644 --- a/www/webkit2-gtk3/Makefile +++ b/www/webkit2-gtk3/Makefile @@ -1,117 +1,119 @@ # Created by: Michael Johnson PORTNAME= webkit DISTVERSION= 2.34.0 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk3 DISTNAME= ${PORTNAME}gtk-${PORTVERSION} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK+ 3 toolkit LICENSE= GPLv2 BSD2CLAUSE LICENSE_COMB= dual BUILD_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwebp.so:graphics/webp \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libnotify.so:devel/libnotify \ libhyphen.so:textproc/hyphen \ libicutu.so:devel/icu \ libopenjp2.so:graphics/openjpeg \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libsoup-2.4.so:devel/libsoup \ libgcrypt.so:security/libgcrypt \ libtasn1.so:security/libtasn1 \ libwoff2dec.so:devel/woff2 PORTSCOUT= limitw:1,even USES= bison cmake compiler:c++14-lang gettext gl gnome gperf \ jpeg localbase:ldflags perl5 pkgconfig python:build \ sqlite tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build libxml2 libxslt USE_GL= gl egl glesv2 USE_LDCONFIG= yes USE_PERL5= build USE_RUBY= yes RUBY_NO_RUN_DEPENDS= yes USE_XORG= x11 xcomposite xdamage xext xrender xt ice BINARY_ALIAS= python=${PYTHON_CMD} CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 CXXFLAGS_powerpc= -DENABLE_YARR_JIT=0 CXXFLAGS_powerpc64= -DENABLE_YARR_JIT=0 CMAKE_ARGS= -DPORT=GTK CMAKE_OFF= USE_LD_GOLD ${CMAKE_OFF_${ARCH}:U} \ ENABLE_GLES2 \ USE_SYSTEMD \ ENABLE_GAMEPAD CMAKE_ON= ENABLE_MINIBROWSER \ USE_SYSTEM_MALLOC \ USE_SOUP2 CMAKE_OFF_armv6= ENABLE_JIT CMAKE_OFF_armv7= ENABLE_JIT CMAKE_OFF_powerpc= ENABLE_JIT CMAKE_OFF_powerpc64= ENABLE_JIT CONFIGURE_ENV= XDG_CACHE_HOME=${WRKDIR} INSTALL_TARGET= install BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3 OPTIONS_DEFINE= DEBUG GEOIP GSTREAMER WAYLAND OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND OPTIONS_SUB= yes # Building WebKit with debugging symbols requires ar and ld with # support for thin archives. Also see # https://bugs.webkit.org/show_bug.cgi?id=140384 DEBUG_CMAKE_ON= -DCMAKE_AR=${LOCALBASE}/bin/ar \ -DCMAKE_RANLIB=${LOCALBASE}/bin/ranlib \ -DCMAKE_LINKER=${LOCALBASE}/bin/ld DEBUG_CXXFLAGS= -B${LOCALBASE}/bin DEBUG_CMAKE_OFF= -DCMAKE_AR=/usr/bin/ar \ -DCMAKE_RANLIB=/usr/bin/ranlib \ -DCMAKE_LINKER=/usr/bin/ld DEBUG_CXXFLAGS_OFF= -B/usr/bin DEBUG_CFLAGS_OFF= -DNDEBUG GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue +GSTREAMER_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-revert-7c0f13f37ec5 \ + ${PATCHDIR}/extra-patch-guard-video GSTREAMER_USE= GSTREAMER1=bad,gl GSTREAMER_CMAKE_BOOL= ENABLE_VIDEO ENABLE_WEB_AUDIO WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libwpe-1.0.so:www/libwpe \ libWPEBackend-fdo-1.0.so:www/wpebackend-fdo pre-configure: # .if !exists() evaluates too early before cairo has a chance to be installed @if ! pkg-config --exists cairo-egl; then \ ${ECHO_MSG} "${PKGNAME}: Needs cairo with OPENGL support enabled."; \ ${FALSE}; \ fi post-install: @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/jsc \ ${STAGEDIR}${PREFIX}/bin/jsc-4 @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/MiniBrowser \ ${STAGEDIR}${PREFIX}/bin/MiniBrowser-4 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver .include diff --git a/www/webkit2-gtk3/files/extra-patch-guard-video b/www/webkit2-gtk3/files/extra-patch-guard-video new file mode 100644 index 000000000000..c5c57f89deaa --- /dev/null +++ b/www/webkit2-gtk3/files/extra-patch-guard-video @@ -0,0 +1,33 @@ +Regressed by: https://github.com/WebKit/WebKit/commit/b87d5003f832 + +In file included from /wrkdirs/usr/ports/www/webkit2-gtk3/work/.build/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-19.cpp:6: +/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp:272:33: error: out-of-line definition of 'paintFrameForMedia' does not match any declaration in 'WebCore::BifurcatedGraphicsContext' +void BifurcatedGraphicsContext::paintFrameForMedia(MediaPlayer& player, const FloatRect& destination) + ^~~~~~~~~~~~~~~~~~ +/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp:274:22: error: no member named 'paintFrameForMedia' in 'WebCore::GraphicsContext' + m_primaryContext.paintFrameForMedia(player, destination); + ~~~~~~~~~~~~~~~~ ^ +/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp:275:24: error: no member named 'paintFrameForMedia' in 'WebCore:: +GraphicsContext' + m_secondaryContext.paintFrameForMedia(player, destination); + ~~~~~~~~~~~~~~~~~~ ^ +3 errors generated. + +diff --git Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp +index c0ce72c..a2a58df 100644 +--- Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp ++++ Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp +@@ -269,11 +269,13 @@ void BifurcatedGraphicsContext::drawPattern(NativeImage& nativeImage, const Floa + m_secondaryContext.drawPattern(nativeImage, imageSize, destRect, tileRect, patternTransform, phase, spacing, options); + } + ++#if ENABLE(VIDEO) + void BifurcatedGraphicsContext::paintFrameForMedia(MediaPlayer& player, const FloatRect& destination) + { + m_primaryContext.paintFrameForMedia(player, destination); + m_secondaryContext.paintFrameForMedia(player, destination); + } ++#endif + + void BifurcatedGraphicsContext::scale(const FloatSize& scale) + { diff --git a/www/webkit2-gtk3/files/extra-patch-revert-7c0f13f37ec5 b/www/webkit2-gtk3/files/extra-patch-revert-7c0f13f37ec5 new file mode 100644 index 000000000000..3edc984616c5 --- /dev/null +++ b/www/webkit2-gtk3/files/extra-patch-revert-7c0f13f37ec5 @@ -0,0 +1,342 @@ +GSTREAMER=off regressed by: https://github.com/WebKit/WebKit/commit/7c0f13f37ec: ++ partly revert https://github.com/WebKit/WebKit/commit/eb3ebb4849987 +(Source/WebCore/accessibility/AXObjectCache.cpp: remove #include "AXImage.h") + +/wrkdirs/usr/ports/www/webkit2-gtk3/work/.build/WTF/Headers/wtf/TypeCasts.h:41:9: error: static_assert failed due to requirement 'std::is_void_v' "Missing TypeCastTraits specialization" + static_assert(std::is_void_v, "Missing TypeCastTraits specialization"); + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/wrkdirs/usr/ports/www/webkit2-gtk3/work/.build/WTF/Headers/wtf/TypeCasts.h:65:73: note: in instantiation of member function 'WTF::TypeCastTraits::isOfType' requested here + return source && TypeCastTraits::isOfType(*source); + ^ +/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/accessibility/AXObjectCache.cpp:532:9: note: in instantiation of function template specialization 'WTF::is' requested here + if (is(node)) + +diff --git Source/WebCore/Sources.txt Source/WebCore/Sources.txt +index 24c515c..043f534 100644 +--- Source/WebCore/Sources.txt ++++ Source/WebCore/Sources.txt +@@ -364,7 +364,6 @@ Modules/webxr/XRInputSourceEvent.cpp @no-unify + Modules/webxr/XRInputSourcesChangeEvent.cpp @no-unify + Modules/webxr/XRReferenceSpaceEvent.cpp @no-unify + Modules/webxr/XRSessionEvent.cpp @no-unify +-accessibility/AXImage.cpp + accessibility/AXLogger.cpp + accessibility/AXObjectCache.cpp + accessibility/AccessibilityARIAGrid.cpp +diff --git Source/WebCore/accessibility/AXImage.cpp Source/WebCore/accessibility/AXImage.cpp +deleted file mode 100644 +index d7226f2..0000000 +--- Source/WebCore/accessibility/AXImage.cpp ++++ /dev/null +@@ -1,86 +0,0 @@ +-/* +- * Copyright (C) 2021 Apple Inc. All rights reserved. +- * +- * Redistribution and use in source and binary forms, with or without +- * modification, are permitted provided that the following conditions +- * are met: +- * +- * 1. Redistributions of source code must retain the above copyright +- * notice, this list of conditions and the following disclaimer. +- * 2. Redistributions in binary form must reproduce the above copyright +- * notice, this list of conditions and the following disclaimer in the +- * documentation and/or other materials provided with the distribution. +- * 3. Neither the name of Apple Inc. ("Apple") nor the names of +- * its contributors may be used to endorse or promote products derived +- * from this software without specific prior written permission. +- * +- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY +- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY +- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +- */ +- +-#include "config.h" +-#include "AXImage.h" +- +-#include "AXLogger.h" +-#include "Chrome.h" +-#include "ChromeClient.h" +- +-namespace WebCore { +- +-AXImage::AXImage(RenderImage* renderer) +- : AccessibilityRenderObject(renderer) +-{ +-} +- +-Ref AXImage::create(RenderImage* renderer) +-{ +- return adoptRef(*new AXImage(renderer)); +-} +- +-AccessibilityRole AXImage::roleValue() const +-{ +- auto ariaRole = ariaRoleAttribute(); +- if (ariaRole != AccessibilityRole::Unknown) +- return ariaRole; +- +- return AccessibilityRole::Image; +-} +- +-std::optional AXImage::imageOverlayElements() +-{ +- AXTRACE("AXImage::imageOverlayElements"); +- +- auto& children = this->children(); +- if (children.size()) +- return children; +- +-#if ENABLE(IMAGE_ANALYSIS) +- auto* page = this->page(); +- if (!page) +- return std::nullopt; +- +- auto* element = this->element(); +- if (!element) +- return std::nullopt; +- +- page->chrome().client().requestTextRecognition(*element, [] (RefPtr&& imageOverlayHost) { +- if (!imageOverlayHost) +- return; +- +- if (auto* axObjectCache = imageOverlayHost->document().existingAXObjectCache()) +- axObjectCache->postNotification(imageOverlayHost.get(), AXObjectCache::AXImageOverlayChanged); +- }); +-#endif +- +- return std::nullopt; +-} +- +-} // namespace WebCore +diff --git Source/WebCore/accessibility/AXImage.h Source/WebCore/accessibility/AXImage.h +deleted file mode 100644 +index c2034d0..0000000 +--- Source/WebCore/accessibility/AXImage.h ++++ /dev/null +@@ -1,51 +0,0 @@ +-/* +- * Copyright (C) 2021 Apple Inc. All rights reserved. +- * +- * Redistribution and use in source and binary forms, with or without +- * modification, are permitted provided that the following conditions +- * are met: +- * +- * 1. Redistributions of source code must retain the above copyright +- * notice, this list of conditions and the following disclaimer. +- * 2. Redistributions in binary form must reproduce the above copyright +- * notice, this list of conditions and the following disclaimer in the +- * documentation and/or other materials provided with the distribution. +- * 3. Neither the name of Apple Inc. ("Apple") nor the names of +- * its contributors may be used to endorse or promote products derived +- * from this software without specific prior written permission. +- * +- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY +- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY +- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +- */ +- +-#pragma once +- +-#include "AccessibilityRenderObject.h" +-#include "RenderImage.h" +- +-namespace WebCore { +- +-class AXImage : public AccessibilityRenderObject { +-public: +- static Ref create(RenderImage*); +- virtual ~AXImage() = default; +- +-private: +- explicit AXImage(RenderImage*); +- bool isAXImageInstance() const override { return true; } +- +- AccessibilityRole roleValue() const override; +- std::optional imageOverlayElements() override; +-}; +- +-} // namespace WebCore +- +-SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AXImage, isAXImageInstance()) +diff --git Source/WebCore/accessibility/AXLogger.cpp Source/WebCore/accessibility/AXLogger.cpp +index 3036666..7f26003 100644 +--- Source/WebCore/accessibility/AXLogger.cpp ++++ Source/WebCore/accessibility/AXLogger.cpp +@@ -373,9 +373,6 @@ TextStream& operator<<(TextStream& stream, AXObjectCache::AXNotification notific + case AXObjectCache::AXNotification::AXIdAttributeChanged: + stream << "AXIdAttributeChanged"; + break; +- case AXObjectCache::AXNotification::AXImageOverlayChanged: +- stream << "AXImageOverlayChanged"; +- break; + case AXObjectCache::AXNotification::AXLanguageChanged: + stream << "AXLanguageChanged"; + break; +diff --git Source/WebCore/accessibility/AXObjectCache.cpp Source/WebCore/accessibility/AXObjectCache.cpp +index f245110..2066db7 100644 +--- Source/WebCore/accessibility/AXObjectCache.cpp ++++ Source/WebCore/accessibility/AXObjectCache.cpp +@@ -32,7 +32,6 @@ + + #include "AXObjectCache.h" + +-#include "AXImage.h" + #include "AXIsolatedObject.h" + #include "AXIsolatedTree.h" + #include "AXLogger.h" +@@ -513,28 +512,6 @@ bool nodeHasRole(Node* node, const String& role) + return SpaceSplitString(roleValue, true).contains(role); + } + +-static bool isSimpleImage(const RenderObject& renderer) +-{ +- if (!is(renderer)) +- return false; +- +- // Exclude ImageButtons because they are treated as buttons, not as images. +- auto* node = renderer.node(); +- if (is(node)) +- return false; +- +- // ImageMaps are not simple images. +- if (downcast(renderer).imageMap() +- || (is(node) && downcast(node)->hasAttributeWithoutSynchronization(usemapAttr))) +- return false; +- +- // Exclude video and audio elements. +- if (is(node)) +- return false; +- +- return true; +-} +- + static Ref createFromRenderer(RenderObject* renderer) + { + // FIXME: How could renderer->node() ever not be an Element? +@@ -574,9 +551,6 @@ static Ref createFromRenderer(RenderObject* renderer) + if (is(node)) + return AccessibilitySVGElement::create(renderer); + +- if (isSimpleImage(*renderer)) +- return AXImage::create(downcast(renderer)); +- + #if ENABLE(MATHML) + // The mfenced element creates anonymous RenderMathMLOperators which should be treated + // as MathML elements and assigned the MathElementRole so that platform logic regarding +diff --git Source/WebCore/accessibility/AXObjectCache.h Source/WebCore/accessibility/AXObjectCache.h +index 1dca4ca..fe3d86d 100644 +--- Source/WebCore/accessibility/AXObjectCache.h ++++ Source/WebCore/accessibility/AXObjectCache.h +@@ -284,7 +284,6 @@ public: + AXFocusedUIElementChanged, + AXFrameLoadComplete, + AXIdAttributeChanged, +- AXImageOverlayChanged, + AXLanguageChanged, + AXLayoutComplete, + AXLoadComplete, +diff --git Source/WebCore/accessibility/AccessibilityNodeObject.cpp Source/WebCore/accessibility/AccessibilityNodeObject.cpp +index 270bbd9..7902660 100644 +--- Source/WebCore/accessibility/AccessibilityNodeObject.cpp ++++ Source/WebCore/accessibility/AccessibilityNodeObject.cpp +@@ -378,6 +378,7 @@ bool AccessibilityNodeObject::canHaveChildren() const + + // Elements that should not have children + switch (roleValue()) { ++ case AccessibilityRole::Image: + case AccessibilityRole::Button: + case AccessibilityRole::PopUpButton: + case AccessibilityRole::CheckBox: +diff --git Source/WebCore/accessibility/AccessibilityObject.h Source/WebCore/accessibility/AccessibilityObject.h +index 2839da8..868f213 100644 +--- Source/WebCore/accessibility/AccessibilityObject.h ++++ Source/WebCore/accessibility/AccessibilityObject.h +@@ -93,7 +93,6 @@ public: + bool isAccessibilityRenderObject() const override { return false; } + bool isAccessibilityScrollbar() const override { return false; } + bool isAccessibilityScrollViewInstance() const override { return false; } +- bool isAXImageInstance() const override { return false; } + bool isAccessibilitySVGRoot() const override { return false; } + bool isAccessibilitySVGElement() const override { return false; } + bool isAccessibilityTableInstance() const override { return false; } +@@ -400,7 +399,6 @@ public: + String brailleLabel() const override { return getAttribute(HTMLNames::aria_braillelabelAttr); } + String brailleRoleDescription() const override { return getAttribute(HTMLNames::aria_brailleroledescriptionAttr); } + String embeddedImageDescription() const override; +- std::optional imageOverlayElements() override { return std::nullopt; } + + // Abbreviations + String expandedTextValue() const override { return String(); } +diff --git Source/WebCore/accessibility/AccessibilityObjectInterface.h Source/WebCore/accessibility/AccessibilityObjectInterface.h +index 2168454..4b51bdf 100644 +--- Source/WebCore/accessibility/AccessibilityObjectInterface.h ++++ Source/WebCore/accessibility/AccessibilityObjectInterface.h +@@ -794,7 +794,6 @@ public: + virtual bool isAccessibilityRenderObject() const = 0; + virtual bool isAccessibilityScrollbar() const = 0; + virtual bool isAccessibilityScrollViewInstance() const = 0; +- virtual bool isAXImageInstance() const = 0; + virtual bool isAccessibilitySVGRoot() const = 0; + virtual bool isAccessibilitySVGElement() const = 0; + virtual bool isAccessibilityTableInstance() const = 0; +@@ -1018,7 +1017,6 @@ public: + virtual String brailleLabel() const = 0; + virtual String brailleRoleDescription() const = 0; + virtual String embeddedImageDescription() const = 0; +- virtual std::optional imageOverlayElements() = 0; + + virtual bool supportsARIAOwns() const = 0; + virtual bool isActiveDescendantOfFocusedContainer() const = 0; +diff --git Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp +index b0bcf55..1f48485 100644 +--- Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp ++++ Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp +@@ -1258,12 +1258,6 @@ bool AXIsolatedObject::isAccessibilityScrollViewInstance() const + return false; + } + +-bool AXIsolatedObject::isAXImageInstance() const +-{ +- ASSERT_NOT_REACHED(); +- return false; +-} +- + bool AXIsolatedObject::isAccessibilitySVGRoot() const + { + ASSERT_NOT_REACHED(); +diff --git Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h +index 6fb1ada..d177a22 100644 +--- Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h ++++ Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h +@@ -272,7 +272,6 @@ private: + String brailleLabel() const override { return stringAttributeValue(AXPropertyName::BrailleLabel); } + String brailleRoleDescription() const override { return stringAttributeValue(AXPropertyName::BrailleRoleDescription); } + String embeddedImageDescription() const override { return stringAttributeValue(AXPropertyName::EmbeddedImageDescription); } +- std::optional imageOverlayElements() override { return std::nullopt; } + + String computedRoleString() const override { return stringAttributeValue(AXPropertyName::ComputedRoleString); } + bool isValueAutofilled() const override { return boolAttributeValue(AXPropertyName::IsValueAutofilled); } +@@ -467,7 +466,6 @@ private: + bool isAccessibilityRenderObject() const override; + bool isAccessibilityScrollbar() const override; + bool isAccessibilityScrollViewInstance() const override; +- bool isAXImageInstance() const override; + bool isAccessibilitySVGRoot() const override; + bool isAccessibilitySVGElement() const override; + bool isAccessibilityTableInstance() const override; + +