Errr, this should help baby wensleydale.

This commit is contained in:
tbogard%aol.net 1999-11-30 06:02:46 +00:00
Родитель e480d13275
Коммит f4f62bed05
2 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -4164,9 +4164,8 @@ 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
NS_ENSURE_SUCCESS(doc->QueryInterface(NS_GET_IID(nsIDOMDocument),
(void**)aDocument), NS_ERROR_FAILURE);
return NS_OK;
}

Просмотреть файл

@ -4164,9 +4164,8 @@ 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
NS_ENSURE_SUCCESS(doc->QueryInterface(NS_GET_IID(nsIDOMDocument),
(void**)aDocument), NS_ERROR_FAILURE);
return NS_OK;
}