From 05d88396b580fb283675b046ae86510cc58513a7 Mon Sep 17 00:00:00 2001 From: Joanmarie Diggs Date: Tue, 17 Oct 2017 07:57:02 +0000 Subject: [PATCH] Merge r222705 - REGRESSION(r222640) [GTK] Build broken with ATK 2.14 https://bugs.webkit.org/show_bug.cgi?id=177634 Reviewed by Michael Catanzaro. Use ATK_CHECK_VERSION to prevent the build failure. No new tests. This fixes a downstream build failure. * accessibility/atk/AXObjectCacheAtk.cpp: (WebCore::AXObjectCache::postPlatformNotification): --- Source/WebCore/ChangeLog | 14 ++++++++++++++ .../WebCore/accessibility/atk/AXObjectCacheAtk.cpp | 2 ++ 2 files changed, 16 insertions(+) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 5e9ca4580511..fae75a10c324 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,17 @@ +2017-10-02 Joanmarie Diggs + + REGRESSION(r222640) [GTK] Build broken with ATK 2.14 + https://bugs.webkit.org/show_bug.cgi?id=177634 + + Reviewed by Michael Catanzaro. + + Use ATK_CHECK_VERSION to prevent the build failure. + + No new tests. This fixes a downstream build failure. + + * accessibility/atk/AXObjectCacheAtk.cpp: + (WebCore::AXObjectCache::postPlatformNotification): + 2017-09-28 Joanmarie Diggs AX: [ATK] object:state-changed notifications missing for multiple ARIA attributes diff --git a/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp b/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp index 085df88dc99c..96eb89e746b2 100644 --- a/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp +++ b/Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp @@ -271,7 +271,9 @@ void AXObjectCache::postPlatformNotification(AccessibilityObject* coreObject, AX break; case AXReadOnlyStatusChanged: +#if ATK_CHECK_VERSION(2,15,3) atk_object_notify_state_change(axObject, ATK_STATE_READ_ONLY, !coreObject->canSetValueAttribute()); +#endif break; case AXRequiredStatusChanged: