зеркало из https://github.com/mozilla/gecko-dev.git
7f15cf986b
NS_LogCOMPtrAddRef and NS_LogCOMPtrRelease always pass false to GetSerialNumber, because they pass in everything they get without regard to whether it is being logged or not, so they don't want to create a serial number if none exists. This causes the assertions added in bug 1309051 to be hit. To work around this, I hoist the assertion into the other callers of this method. Two of them already had this check, but it was non-fatal. This also makes the asserts not happen in release builds, as I decided it doesn't really matter what happens if somebody tries to use it there. --HG-- extra : rebase_source : 5e70290492fd442b79b4d40c300a263e322f485b |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust/nsstring | ||
string | ||
system | ||
tests | ||
threads | ||
typelib | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |