зеркало из https://github.com/mozilla/gecko-dev.git
Errr, this should help baby wensleydale.
This commit is contained in:
Родитель
e480d13275
Коммит
f4f62bed05
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче