Workaround for Solaris bustage.

git-svn-id: svn://10.0.0.236/trunk@54728 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1999-11-30 05:58:24 +00:00
parent 2a40d45436
commit 1d923b140b
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;
}