Title: [289045] trunk/Source/WebCore
Revision
289045
Author
carlo...@webkit.org
Date
2022-02-03 05:42:40 -0800 (Thu, 03 Feb 2022)

Log Message

[GTK][WPE][a11y] Handle parameter of org.a11y.atspi.Text.RemoveSelection
https://bugs.webkit.org/show_bug.cgi?id=236079

Reviewed by Adrian Perez de Castro.

* accessibility/atspi/AccessibilityObjectTextAtspi.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (289044 => 289045)


--- trunk/Source/WebCore/ChangeLog	2022-02-03 13:23:42 UTC (rev 289044)
+++ trunk/Source/WebCore/ChangeLog	2022-02-03 13:42:40 UTC (rev 289045)
@@ -1,3 +1,12 @@
+2022-02-03  Carlos Garcia Campos  <cgar...@igalia.com>
+
+        [GTK][WPE][a11y] Handle parameter of org.a11y.atspi.Text.RemoveSelection
+        https://bugs.webkit.org/show_bug.cgi?id=236079
+
+        Reviewed by Adrian Perez de Castro.
+
+        * accessibility/atspi/AccessibilityObjectTextAtspi.cpp:
+
 2022-02-03  Andres Gonzalez  <andresg...@apple.com>
 
         Crash in AXIsolatedObject::associatedAXObject.

Modified: trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp (289044 => 289045)


--- trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp	2022-02-03 13:23:42 UTC (rev 289044)
+++ trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp	2022-02-03 13:42:40 UTC (rev 289045)
@@ -187,6 +187,7 @@
                 g_dbus_method_invocation_return_value(invocation, g_variant_new("(b)", atspiObject->selectRange(start, end)));
         } else if (!g_strcmp0(methodName, "RemoveSelection")) {
             int selectionNumber;
+            g_variant_get(parameters, "(i)", &selectionNumber);
             int caretOffset = -1;
             if (!selectionNumber) {
                 int start, end;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to