зеркало из https://github.com/mozilla/gecko-dev.git
103bf1caae
Move constructors and assignment operators are expected to be safe and infallible. In debug mode, nsCOMPtr's move functions called a test function that modified the pointee's refcount -- a potentially thread unsafe operation that also opened the door to assertion failures if the pointee implemented some access checks in AddRef() or Release(). This commit removes this function call in those two functions. Differential Revision: https://phabricator.services.mozilla.com/D12422 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust | ||
string | ||
system | ||
tests | ||
threads | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |