SHA256
1
0
forked from pool/webkit2gtk3
webkit2gtk3/webkit2gtk3-boo1088932-a11y-state-set.patch
Bjørn Lie 609455a1b0 Accepting request 674752 from home:mgorse:branches:GNOME:Factory
- Replace webkit2gtk3-boo1088932-a11y-state-set.patch with a patch
  proposed for webkit#188599. The original patch didn't always
  prevent crashes.

- Update to version 2.22.6 (boo#1124937):

OBS-URL: https://build.opensuse.org/request/show/674752
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=202
2019-02-13 22:53:04 +00:00

14 lines
727 B
Diff

diff -urp webkitgtk-2.22.6.orig/Source/WebCore/accessibility/AccessibilityObject.cpp webkitgtk-2.22.6/Source/WebCore/accessibility/AccessibilityObject.cpp
--- webkitgtk-2.22.6.orig/Source/WebCore/accessibility/AccessibilityObject.cpp 2019-02-12 16:58:51.735109641 -0600
+++ webkitgtk-2.22.6/Source/WebCore/accessibility/AccessibilityObject.cpp 2019-02-12 17:00:53.987806344 -0600
@@ -1780,6 +1780,9 @@ void AccessibilityObject::updateBackingS
if (!axObjectCache())
return;
+ if (WidgetHierarchyUpdatesSuspensionScope::isSuspended())
+ return;
+
// Updating the layout may delete this object.
RefPtr<AccessibilityObject> protectedThis(this);
if (auto* document = this->document()) {