From 1d923b140b051d51101da9e228738760d4ac0b3f Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Tue, 30 Nov 1999 05:58:24 +0000 Subject: [PATCH] Workaround for Solaris bustage. git-svn-id: svn://10.0.0.236/trunk@54728 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/base/nsWebShell.cpp | 2 ++ mozilla/webshell/src/nsWebShell.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mozilla/docshell/base/nsWebShell.cpp b/mozilla/docshell/base/nsWebShell.cpp index 30924637635..0f611626736 100644 --- a/mozilla/docshell/base/nsWebShell.cpp +++ b/mozilla/docshell/base/nsWebShell.cpp @@ -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; } diff --git a/mozilla/webshell/src/nsWebShell.cpp b/mozilla/webshell/src/nsWebShell.cpp index 30924637635..0f611626736 100644 --- a/mozilla/webshell/src/nsWebShell.cpp +++ b/mozilla/webshell/src/nsWebShell.cpp @@ -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; }