Bug 388910 - building with disabled MOZ_XUL failed, patch=romaxa@gmail.com, r=me, sr=neil
git-svn-id: svn://10.0.0.236/trunk@230738 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user