mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1163070 - fix AtkHyperlinkImpl::getHyperlink after bug 1146518 r=surkov
bug 1146518 made getHyperlink() return null if either there was no proxy, or there was no Accessible, which would always be true. It should have tested that neither was present.
This commit is contained in:
parent
4aa3de0b59
commit
2ae9a0e88a
@ -16,7 +16,7 @@ static AtkHyperlink*
|
||||
getHyperlinkCB(AtkHyperlinkImpl* aImpl)
|
||||
{
|
||||
AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aImpl));
|
||||
if (!accWrap || !GetProxy(ATK_OBJECT(aImpl)))
|
||||
if (!accWrap && !GetProxy(ATK_OBJECT(aImpl)))
|
||||
return nullptr;
|
||||
|
||||
if (accWrap)
|
||||
|
Loading…
Reference in New Issue
Block a user