style: Remove a few unused functions.

This commit is contained in:
Emilio Cobos Álvarez 2017-10-16 16:18:01 +02:00
parent a11d268468
commit 7afe393f23
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 0 additions and 17 deletions

View file

@ -858,11 +858,6 @@ impl<'ln> ThreadSafeLayoutNode for ServoThreadSafeLayoutNode<'ln> {
}
}
#[inline]
fn type_id_without_excluding_pseudo_elements(&self) -> LayoutNodeType {
self.node.type_id()
}
fn parent_style(&self) -> Arc<ComputedValues> {
let parent = self.node.parent_node().unwrap().as_element().unwrap();
let parent_data = parent.get_data().unwrap().borrow();