aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/dom.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2017-07-05 14:19:37 -0700
committerBobby Holley <bobbyholley@gmail.com>2017-07-05 16:37:17 -0700
commit3330653dc80cc8947af17f1989fb7fbf390c4d2f (patch)
tree85556e4b7c09512eb64519fa6fa7675e52eb532a /components/style/dom.rs
parent296a215e5404eb0fd0c0a34cc1283cd0b84aaea9 (diff)
downloadservo-3330653dc80cc8947af17f1989fb7fbf390c4d2f.tar.gz
servo-3330653dc80cc8947af17f1989fb7fbf390c4d2f.zip
Rip out the generic abstractions around ThreadLocalStyleContext.
MozReview-Commit-ID: 5WTLuk323Ac
Diffstat (limited to 'components/style/dom.rs')
-rw-r--r--components/style/dom.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/dom.rs b/components/style/dom.rs
index 7d8112a0554..ac5d051e865 100644
--- a/components/style/dom.rs
+++ b/components/style/dom.rs
@@ -296,7 +296,7 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
///
/// XXXManishearth It would be better to make this a type parameter on
/// ThreadLocalStyleContext and StyleContext
- type FontMetricsProvider: FontMetricsProvider;
+ type FontMetricsProvider: FontMetricsProvider + Send;
/// Get this element as a node.
fn as_node(&self) -> Self::ConcreteNode;