зеркало из https://github.com/mozilla/pjs.git
errr, Unix compilers don't understand the right value nsCOMPtr thing... Fixed.
This commit is contained in:
Родитель
e99e09958b
Коммит
63a5a794a4
|
@ -3462,7 +3462,7 @@ GlobalWindowImpl::GetPrivateParent(nsPIDOMWindow** aParent)
|
|||
nsCOMPtr<nsIDOMWindow> parent;
|
||||
GetParent(getter_AddRefs(parent));
|
||||
|
||||
if(NS_STATIC_CAST(nsIDOMWindow*, this) == parent)
|
||||
if(NS_STATIC_CAST(nsIDOMWindow*, this) == parent.get())
|
||||
{
|
||||
if(mChromeElement)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче