Backed out changeset 8574c820840b (bug 1323226) for static analysis bustage. r=backout on a CLOSED TREE

This commit is contained in:
Sebastian Hengst 2016-12-13 20:25:40 +01:00
parent 443e426d7c
commit 42d867c83e

View File

@ -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
}
/***************************************************************************/