From 50b1424be44c14947834babc7699ad0d22142d43 Mon Sep 17 00:00:00 2001 From: Alexander Surkov Date: Thu, 24 Aug 2017 15:29:27 -0400 Subject: [PATCH] Bug 1391733 - get back missing IAccessible2 interface query, r=aklotz --- accessible/windows/ia2/ia2Accessible.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accessible/windows/ia2/ia2Accessible.cpp b/accessible/windows/ia2/ia2Accessible.cpp index fe17a1d2b1e8..c31543a8f3e9 100644 --- a/accessible/windows/ia2/ia2Accessible.cpp +++ b/accessible/windows/ia2/ia2Accessible.cpp @@ -46,6 +46,8 @@ ia2Accessible::QueryInterface(REFIID iid, void** ppv) *ppv = static_cast(this); else if (IID_IAccessible2_2 == iid) *ppv = static_cast(this); + else if (IID_IAccessible2 == iid) + *ppv = static_cast(this); if (*ppv) { (reinterpret_cast(*ppv))->AddRef();