gecko-dev/layout
Kris Maglione dfd38a6ac3 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : rebase_source : 4f70e7b296ecf3b52a4892c92155c7c163d424d2
2018-07-23 17:41:06 -07:00
..
base Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
build Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
doc Bug 1407059 - GECKO_DISPLAY_REFLOW_PROCESSES=a/p/c enables reflow logging in chosen processes - r=dbaron 2018-05-08 12:42:16 +10:00
forms Bug 1453795 - Layout - Initialize member fields in classes/ structures. r=dbaron 2018-07-12 09:42:14 +03:00
generic Merge inbound to mozilla-central a=merge 2018-07-24 00:43:44 +03:00
inspector Bug 1475997: Improve missed rule mapping crash message. r=xidorn 2018-07-17 16:24:00 +02:00
ipc Bug 1467867 - Ensure we populate the event regions overrides properly. r=botond 2018-06-08 21:16:43 +00:00
mathml Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
media
painting Merge mozilla-inbound to mozilla-central. a=merge 2018-07-21 00:42:01 +03:00
printing Bug 1453795 - Layout - Initialize member fields in classes/ structures. r=dbaron 2018-07-12 09:42:14 +03:00
reftests Bug 1477553: Hide display: -moz-box|-moz-inline-box from content on Nightly and early beta. r=xidorn 2018-07-23 17:27:17 +02:00
style Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-07-24 00:46:46 +03:00
svg Bug 1450250: Make svg:use use an actual shadow tree. r=heycam 2018-07-20 14:44:51 +02:00
tables Bug 1453795 - Layout - Initialize member fields in classes/ structures. r=dbaron 2018-07-12 09:42:14 +03:00
tools Bug 1476135 - Remove unused FileUtils.jsm import from layout/tools/reftest/bootstrap.js r=marco 2018-07-18 22:22:33 +05:30
xul Bug 1473032, remove some old leftover xbl-form-controls bits from menus and trees, r=bz 2018-07-19 06:16:18 -04:00
moz.build