mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +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
7d5a5668f0
commit
88b916f2e8
@ -4548,7 +4548,7 @@ GlobalWindowImpl::GetInterface(const nsIID & aIID, void **aSink)
|
||||
return QueryInterface(aIID, aSink);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
return *aSink ? NS_ERROR_NO_INTERFACE : NS_OK;
|
||||
}
|
||||
|
||||
//*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user