Remove a prefix from a method name by manually resolving methods

This commit is contained in:
Cameron Zwarich 2014-09-30 20:29:10 -07:00
parent 6358b7d94e
commit 4ef0f39c78
3 changed files with 10 additions and 5 deletions

View file

@ -2039,7 +2039,7 @@ impl<'a> style::TNode<'a, JSRef<'a, Element>> for JSRef<'a, Node> {
(self as &NodeHelpers).parent_node().map(|node| *node.root())
}
fn tnode_first_child(&self) -> Option<JSRef<'a, Node>> {
fn first_child(&self) -> Option<JSRef<'a, Node>> {
(self as &NodeHelpers).first_child().map(|node| *node.root())
}