mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 272381 Crash when printing a iframe [PoC included][@ GlobalWindowImpl::Print] GlobalWindowImpl::GetInterface is broken
r=peterv sr=peterv
This commit is contained in:
parent
434a4433ec
commit
1badca9ed7
@ -4548,7 +4548,7 @@ GlobalWindowImpl::GetInterface(const nsIID & aIID, void **aSink)
|
||||
return QueryInterface(aIID, aSink);
|
||||
}
|
||||
|
||||
return *aSink ? NS_ERROR_NO_INTERFACE : NS_OK;
|
||||
return *aSink ? NS_OK : NS_ERROR_NO_INTERFACE;
|
||||
}
|
||||
|
||||
//*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user