mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Backed out changeset 8574c820840b (bug 1323226) for static analysis bustage. r=backout on a CLOSED TREE
This commit is contained in:
parent
443e426d7c
commit
42d867c83e
@ -341,11 +341,12 @@ xpc_MarkInCCGeneration(nsISupports* aVariant, uint32_t aGeneration)
|
||||
void
|
||||
xpc_TryUnmarkWrappedGrayObject(nsISupports* aWrappedJS)
|
||||
{
|
||||
// QIing to nsIXPConnectWrappedJSUnmarkGray may have side effects!
|
||||
#ifdef DEBUG
|
||||
nsCOMPtr<nsIXPConnectWrappedJSUnmarkGray> wjsug =
|
||||
do_QueryInterface(aWrappedJS);
|
||||
MOZ_ASSERT(!wjsug, "One should never be able to QI to "
|
||||
"nsIXPConnectWrappedJSUnmarkGray successfully!");
|
||||
#endif
|
||||
}
|
||||
|
||||
/***************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user