Bug 1210549 - Allow IServiceProvider::QueryService to work for proxied accessibles r=tbsaunde

This commit is contained in:
James Teh 2015-10-01 16:59:09 -04:00 committed by Trevor Saunders
parent f41c6c4c6c
commit 70a159051f

View File

@ -123,7 +123,7 @@ AccessibleWrap::QueryInterface(REFIID iid, void** ppv)
return E_NOINTERFACE;
*ppv = static_cast<IEnumVARIANT*>(new ChildrenEnumVariant(this));
} else if (IID_IServiceProvider == iid && !IsProxy())
} else if (IID_IServiceProvider == iid)
*ppv = new ServiceProvider(this);
else if (IID_ISimpleDOMNode == iid && !IsProxy()) {
if (IsDefunct() || (!HasOwnContent() && !IsDoc()))