aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/dom.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/dom.rs')
-rw-r--r--components/style/dom.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/components/style/dom.rs b/components/style/dom.rs
index 86c5a382891..c23b985a628 100644
--- a/components/style/dom.rs
+++ b/components/style/dom.rs
@@ -13,7 +13,6 @@ use crate::context::SharedStyleContext;
use crate::context::{PostAnimationTasks, UpdateAnimationsTasks};
use crate::data::ElementData;
use crate::element_state::ElementState;
-use crate::font_metrics::FontMetricsProvider;
use crate::media_queries::Device;
use crate::properties::{AnimationDeclarations, ComputedValues, PropertyDeclarationBlock};
use crate::selector_parser::{AttrValue, Lang, PseudoElement, SelectorImpl};
@@ -363,12 +362,6 @@ pub trait TElement:
/// syntax.
type TraversalChildrenIterator: Iterator<Item = Self::ConcreteNode>;
- /// Type of the font metrics provider
- ///
- /// XXXManishearth It would be better to make this a type parameter on
- /// ThreadLocalStyleContext and StyleContext
- type FontMetricsProvider: FontMetricsProvider + Send;
-
/// Get this element as a node.
fn as_node(&self) -> Self::ConcreteNode;