Workaround for Solaris bustage.

This commit is contained in:
warren@netscape.com
1999-11-30 05:58:24 +00:00
parent bbee1d9768
commit 32d363dd9f
2 changed files with 4 additions and 0 deletions

View File

@@ -4164,7 +4164,9 @@ NS_IMETHODIMP nsWebShell::GetDocument(nsIDOMDocument** aDocument)
NS_ENSURE_TRUE(doc, NS_ERROR_NULL_POINTER);
// the result's addref comes from this QueryInterface call
#ifndef XP_UNIX // until Travis can fix for Solaris
NS_ENSURE_SUCCESS(CallQueryInterface(doc, aDocument), NS_ERROR_FAILURE);
#endif
return NS_OK;
}