gecko-dev/layout
Nicholas Nethercote 01e0dbf44b Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj.
This patch simplifies nsStaticCaseInsensitiveNameTable greatly by taking
advantage of the following observations.

- |new| is infallible, so |new nsStaticCaseInsensitiveNameTable()| calls don't
  need their return value checked.

- nsStaticCaseInsensitiveNameTable::Init() checks if any of the added entries
  differ only in case, so the callers of that function don't need to do the
  same check.

- nsStaticCaseInsensitiveNameTable::Init() never returns false because
  moz_xmalloc() is infallible. (Its callers never check the return value
  anyway.) So it can be merged into the constructor. And
  ~nsStaticCaseInsensitiveNameTable() need not null-check |mNameArray|.

- PLDHashTable now has an initializing constructor and destructor, so these can
  be used in nsStaticCaseInsensitiveNameTable, thus avoiding manual
  PLD_HashTable{Init,Finish}() calls.
2015-05-05 21:13:53 -07:00
..
base Merge f-t to m-c, a=merge 2015-05-23 14:28:07 -07:00
build Backed out 2 changesets (bug 1154231) for M-oth crashes 2015-05-15 20:29:15 -07:00
doc Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
forms Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
generic Bug 1167145 - Check result of PrevInFlow() before trying to call a method on it. r=dbaron 2015-05-22 08:49:30 +01:00
inspector Bug 1152033 - Expose CSS lexer to js. r=heycam, r=bz 2015-05-04 10:28:00 -04:00
ipc Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me 2015-05-22 07:51:55 -04:00
mathml Bug 1167189: Add an infallible version of nsContentUtils::GetNodeTextContent. r=jst 2015-05-22 14:16:20 -04:00
media Bug 1159273 - Update gkmedias symbol defs to catch up with the Cairo/Pixman renames. r=jrmuizel 2015-05-13 11:59:55 +09:00
printing Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
reftests Bug 1160642. Add reftest-async-zoom to apply an async zoom before taking snapshot. r=dbaron 2015-05-24 16:48:26 -04:00
style Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj. 2015-05-05 21:13:53 -07:00
svg Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
tables Bug 1166598 (part 2) - Use PLDHashTable2 in SpanningCellSorter. r=froydnj,dbaron. 2015-05-05 16:11:43 -07:00
tools Bug 1160642. Add reftest-async-zoom to apply an async zoom before taking snapshot. r=dbaron 2015-05-24 16:48:26 -04:00
xul Bug 250091, support page up and page down in menulists, r=neil 2015-05-20 13:11:06 -04:00
moz.build Bug 1156111 patch 1 - Give layout/reftests/ its own moz.build file. r=gps 2015-04-20 23:10:40 -07:00