gecko-dev/xpcom
Nathan Froyd da3e07b555 Bug 1295197 - use non-null-checked operator new in xpcom/; r=erahm
The standard placement new function is declared to not throw, which
means that, per spec, a null check on its result is required.  There are
a number of places throughout xpcom/ where we know that we are passing
non-null pointers to placement new (and receiving them as a return
value), and we are therefore doing useless work performing these null
checks.

Therefore, we should be using an operator new overload that doesn't
require the null check.  MFBT has just such an overload, so use that.
2016-08-16 17:05:39 -04:00
..
base Bug 1295197 - use non-null-checked operator new in xpcom/; r=erahm 2016-08-16 17:05:39 -04:00
build Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
components Bug 1291970 (part 2) - Tweak nsCategoryManager memory reporter handling. r=erahm. 2016-08-11 09:29:44 +10:00
doc
ds Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
glue Bug 1295197 - use non-null-checked operator new in xpcom/; r=erahm 2016-08-16 17:05:39 -04:00
idl-parser Bug 1293001 - Part 4: Add test for xpidl parser modifications, r=froydnj 2016-08-11 15:49:42 -04:00
io Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
libxpt/xptcall
reflect Backed out changeset 2e8cfd225f04 (bug 1272498) for OSX bustage on a CLOSED TREE. 2016-07-22 14:56:46 -04:00
string Bug 1277106 - Part 4: Remove MOZ_UTF16() macro. r=Waldo 2016-07-19 21:07:53 -07:00
system Bug 1286306 - Add an app info property exposing the state of the Windows dll blocklist, and test the value during browser test runs. r=bsmedberg 2016-07-27 15:20:58 -05:00
tests Bug 1294809 - remove cppunittest TestPipe; r=erahm 2016-08-15 21:31:04 -04:00
threads Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
typelib Bug 1287361 - Remove XPT_NEW. r=khuey. 2016-07-18 14:17:20 +10:00
windbgdlg Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
xpidl Bug 1293784 - Only recurse into xpcom/idl-parser/xpidl once; r=gps 2016-08-09 16:58:18 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
xpcom-config.h.in Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium 2015-03-19 00:46:40 -07:00
xpcom-private.h.in