mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 388910 - building with disabled MOZ_XUL failed, patch=romaxa@gmail.com, r=me, sr=neil
This commit is contained in:
parent
d7b847a09b
commit
9ebfcd078b
@ -214,8 +214,11 @@ nsDocAccessible::GetState(PRUint32 *aState, PRUint32 *aExtraState)
|
||||
// nsAccessible::GetState() always fail for document accessible.
|
||||
nsAccessible::GetState(aState, aExtraState);
|
||||
|
||||
#ifdef MOZ_XUL
|
||||
nsCOMPtr<nsIXULDocument> xulDoc(do_QueryInterface(mDocument));
|
||||
if (!xulDoc) {
|
||||
if (!xulDoc)
|
||||
#endif
|
||||
{
|
||||
// XXX Need to invent better check to see if doc is focusable,
|
||||
// which it should be if it is scrollable. A XUL document could be focusable.
|
||||
// See bug 376803.
|
||||
|
Loading…
Reference in New Issue
Block a user