[GTK] Silence ATK_XY_PARENT warnings
[WebKit-https.git] / Source / WebCore / accessibility / atk / WebKitAccessibleInterfaceComponent.cpp
index e86f230984becb48965d64e10938d92192581b49..439fe96c295f2318d0b9d59c29769120ce43ddba 100644 (file)
@@ -60,6 +60,10 @@ static IntPoint atkToContents(AccessibilityObject* coreObject, AtkCoordType coor
             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
         }
     }