зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1431256 correction: AccessibleHandler: Really return E_NOINTERFACE for IEnumVARIANT if there are no children. r=MarcoZ
A typo meant we were checking the address of mChildCount, not the value. MozReview-Commit-ID: 7Hit3FBy9pr --HG-- extra : amend_source : edb85b8e73184e47cd9ff42c0442f89d5f3c5152
This commit is contained in:
Родитель
779fe85e35
Коммит
ab44d98e0d
|
@ -406,7 +406,7 @@ AccessibleHandler::QueryHandlerInterface(IUnknown* aProxyUnknown, REFIID aIid,
|
|||
}
|
||||
|
||||
if (aIid == IID_IEnumVARIANT && mCachedData.mGeckoBackChannel) {
|
||||
if (&mCachedData.mDynamicData.mChildCount == 0) {
|
||||
if (mCachedData.mDynamicData.mChildCount == 0) {
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
RefPtr<IEnumVARIANT> childEnum(
|
||||
|
|
Загрузка…
Ссылка в новой задаче