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
Grid.cpp Bug 1559546 - Use atoms for grid line names. r=mats 2019-06-19 05:58:11 +00:00
Grid.h
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
GridDimension.h
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
GridTrack.h
GridTracks.cpp
GridTracks.h
moz.build