[Webkit-unassigned] [Bug 232394] Fail build with -DENABLE_WEB_AUDIO=OFF -DENABLE_VIDEO=OFF in webkit2gtk 2.34.1 (gtk3)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 14 15:31:15 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=232394
alex_y_xu at yahoo.ca changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alex_y_xu at yahoo.ca
--- Comment #1 from alex_y_xu at yahoo.ca ---
applying this patch on 2.34.1 resolved the issue for me:
diff -ru webkitgtk-2.34.1/Source/WebCore/accessibility/AXObjectCache.cpp b/Source/WebCore/accessibility/AXObjectCache.cpp
--- webkitgtk-2.34.1/Source/WebCore/accessibility/AXObjectCache.cpp 2021-09-02 02:33:26.000000000 -0400
+++ b/Source/WebCore/accessibility/AXObjectCache.cpp 2021-11-14 11:52:02.335845108 -0500
@@ -528,9 +528,11 @@
|| (is<HTMLImageElement>(node) && downcast<HTMLImageElement>(node)->hasAttributeWithoutSynchronization(usemapAttr)))
return false;
+#if ENABLE(VIDEO)
// Exclude video and audio elements.
if (is<HTMLMediaElement>(node))
return false;
+#endif
return true;
}
diff -ru webkitgtk-2.34.1/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp b/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp
--- webkitgtk-2.34.1/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp 2021-09-01 05:16:50.000000000 -0400
+++ b/Source/WebCore/platform/graphics/BifurcatedGraphicsContext.cpp 2021-11-14 12:10:00.801054150 -0500
@@ -269,11 +269,13 @@
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)
{
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211114/924343b6/attachment-0001.htm>
More information about the webkit-unassigned
mailing list