aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko_string_cache
diff options
context:
space:
mode:
authorCameron McCormack <cam@mcc.id.au>2019-03-30 00:16:25 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-04-12 12:19:52 +0200
commit40248ae5fdc2e768862a1865b43e0a23e588b303 (patch)
tree4b66750ca6597f76d3781bd8d71dbf73603463b4 /components/style/gecko_string_cache
parent128c6ae94aec7b9df26544c46816158aacd8eb59 (diff)
downloadservo-40248ae5fdc2e768862a1865b43e0a23e588b303.tar.gz
servo-40248ae5fdc2e768862a1865b43e0a23e588b303.zip
style: Add derived ToShmem implementations.
Differential Revision: https://phabricator.services.mozilla.com/D17197
Diffstat (limited to 'components/style/gecko_string_cache')
-rw-r--r--components/style/gecko_string_cache/namespace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/gecko_string_cache/namespace.rs b/components/style/gecko_string_cache/namespace.rs
index 725e1da2169..33883e66941 100644
--- a/components/style/gecko_string_cache/namespace.rs
+++ b/components/style/gecko_string_cache/namespace.rs
@@ -24,7 +24,7 @@ macro_rules! ns {
}
/// A Gecko namespace is just a wrapped atom.
-#[derive(Clone, Debug, Default, Eq, Hash, MallocSizeOf, PartialEq)]
+#[derive(Clone, Debug, Default, Eq, Hash, MallocSizeOf, PartialEq, ToShmem)]
pub struct Namespace(pub Atom);
impl PrecomputedHash for Namespace {