Seems Solaris' compiler is on the bus... Doesn't understand what nsISupports to grab or something. Anway adding the .get() fixes it.

This commit is contained in:
tbogard%aol.net 1999-11-17 03:55:35 +00:00
Родитель 4049acf0ea
Коммит 81036c2c73
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -3485,7 +3485,7 @@ GlobalWindowImpl::GetPrivateParent(nsPIDOMWindow** aParent)
}
if(parent)
NS_ENSURE_SUCCESS(CallQueryInterface(parent, aParent), NS_ERROR_FAILURE);
NS_ENSURE_SUCCESS(CallQueryInterface(parent.get(), aParent), NS_ERROR_FAILURE);
else
*aParent = nsnull;