style: Share computed and specified value representation of -moz-context-properties.

Differential Revision: https://phabricator.services.mozilla.com/D30545
This commit is contained in:
Emilio Cobos Álvarez 2019-05-16 23:03:29 +00:00
parent 2bc4c42d45
commit bbc77e3977
6 changed files with 89 additions and 70 deletions

View file

@ -53,6 +53,7 @@ macro_rules! local_name {
/// This is either a strong reference to a dynamic atom (an nsAtom pointer),
/// or an offset from gGkAtoms to the nsStaticAtom object.
#[derive(Eq, PartialEq)]
#[repr(C)]
pub struct Atom(usize);
/// An atom *without* a strong reference.