Title: [238082] trunk/Source/WebCore
Revision
238082
Author
mcatanz...@igalia.com
Date
2018-11-12 01:05:49 -0800 (Mon, 12 Nov 2018)

Log Message

[GTK] Silence ATK_XY_PARENT warnings
https://bugs.webkit.org/show_bug.cgi?id=191504

Reviewed by Carlos Garcia Campos.

* accessibility/atk/WebKitAccessibleInterfaceComponent.cpp:
(atkToContents):
* accessibility/atk/WebKitAccessibleInterfaceText.cpp:
(textExtents):
* accessibility/atk/WebKitAccessibleUtil.cpp:
(contentsRelativeToAtkCoordinateType):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (238081 => 238082)


--- trunk/Source/WebCore/ChangeLog	2018-11-12 02:00:59 UTC (rev 238081)
+++ trunk/Source/WebCore/ChangeLog	2018-11-12 09:05:49 UTC (rev 238082)
@@ -1,3 +1,17 @@
+2018-11-12  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        [GTK] Silence ATK_XY_PARENT warnings
+        https://bugs.webkit.org/show_bug.cgi?id=191504
+
+        Reviewed by Carlos Garcia Campos.
+
+        * accessibility/atk/WebKitAccessibleInterfaceComponent.cpp:
+        (atkToContents):
+        * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
+        (textExtents):
+        * accessibility/atk/WebKitAccessibleUtil.cpp:
+        (contentsRelativeToAtkCoordinateType):
+
 2018-11-11  Wenson Hsieh  <wenson_hs...@apple.com>
 
         Implement a new edit command to change the enclosing list type

Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceComponent.cpp (238081 => 238082)


--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceComponent.cpp	2018-11-12 02:00:59 UTC (rev 238081)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceComponent.cpp	2018-11-12 09:05:49 UTC (rev 238082)
@@ -60,6 +60,10 @@
             return frameView->screenToContents(pos);
         case ATK_XY_WINDOW:
             return frameView->windowToContents(pos);
+#if ATK_CHECK_VERSION(2, 30, 0)
+        case ATK_XY_PARENT:
+            RELEASE_ASSERT_NOT_REACHED();
+#endif
         }
     }
 

Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp (238081 => 238082)


--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp	2018-11-12 02:00:59 UTC (rev 238081)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.cpp	2018-11-12 09:05:49 UTC (rev 238082)
@@ -325,6 +325,10 @@
     case ATK_XY_WINDOW:
         // No-op
         break;
+#if ATK_CHECK_VERSION(2, 30, 0)
+    case ATK_XY_PARENT:
+        RELEASE_ASSERT_NOT_REACHED();
+#endif
     }
 
     return extents;

Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.cpp (238081 => 238082)


--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.cpp	2018-11-12 02:00:59 UTC (rev 238081)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleUtil.cpp	2018-11-12 09:05:49 UTC (rev 238082)
@@ -66,6 +66,10 @@
         case ATK_XY_SCREEN:
             rect = frameView->contentsToScreen(rect);
             break;
+#if ATK_CHECK_VERSION(2, 30, 0)
+        case ATK_XY_PARENT:
+            RELEASE_ASSERT_NOT_REACHED();
+#endif
         }
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to