gecko-dev/dom/grid
Emilio Cobos Álvarez 6ed8680108 Bug 1559546 - Use atoms for grid line names. r=mats
The style system already atomizes all CustomIdent values, which means that we're
just wasting memory and CPU by doing string copies all over the place.

This patch fixes it. This also simplifies further changes to use as much of the
rust data structures as possible.

I had to switch from nsTHashtable to mozilla::HashTable because the former
doesn't handle well non-default-constructible structs (like NamedLine, which
now has a StyleAtom, which is not default-constructible).

Differential Revision: https://phabricator.services.mozilla.com/D35119

--HG--
extra : moz-landing-system : lando
2019-06-19 05:58:11 +00:00
..
test Bug 1532937 - Enable ESLint for dom/flex and dom/grid (automatic changes). r=Standard8,smaug 2019-06-03 10:42:12 +00:00
Grid.cpp Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
Grid.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
GridArea.cpp Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
GridArea.h Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
GridDimension.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
GridDimension.h Bug 1559545 - Use servo for the representation of grid template areas. r=mats 2019-06-18 22:29:58 +00:00
GridLine.cpp Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
GridLine.h Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
GridLines.cpp Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
GridLines.h Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
GridTrack.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
GridTrack.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
GridTracks.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
GridTracks.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
moz.build