зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
4049acf0ea
Коммит
81036c2c73
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче