aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko_string_cache
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2019-05-16 23:03:29 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-05-29 16:14:10 +0200
commitbbc77e39773e7c3ca37e177998d3e4c4059ac5c4 (patch)
treea977400d31a874c06b2467d11d906c0288abbef2 /components/style/gecko_string_cache
parent2bc4c42d4533db11759b49a2159082343f34ec52 (diff)
downloadservo-bbc77e39773e7c3ca37e177998d3e4c4059ac5c4.tar.gz
servo-bbc77e39773e7c3ca37e177998d3e4c4059ac5c4.zip
style: Share computed and specified value representation of -moz-context-properties.
Differential Revision: https://phabricator.services.mozilla.com/D30545
Diffstat (limited to 'components/style/gecko_string_cache')
-rw-r--r--components/style/gecko_string_cache/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/gecko_string_cache/mod.rs b/components/style/gecko_string_cache/mod.rs
index d71d192166a..b8f3ff7f048 100644
--- a/components/style/gecko_string_cache/mod.rs
+++ b/components/style/gecko_string_cache/mod.rs
@@ -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.