Fix merge fallout which was disabling all CSS classes.

This commit is contained in:
Patrick Walton 2013-06-12 14:35:16 -07:00
parent aee2611498
commit e1b9e01e69

View file

@ -24,16 +24,6 @@ fn with_node_name<R>(node: AbstractNode<LayoutView>, f: &fn(&str) -> R) -> R {
}
impl SelectHandler<AbstractNode<LayoutView>> for NodeSelectHandler {
// FIXME(tkuehn): placeholder to get servo to compile
fn node_has_class(&self, node: &AbstractNode<LayoutView>, s: &str) -> bool {
true
}
// FIXME(tkuehn): placeholder to get servo to compile
fn with_node_classes<R>(&self, node: &AbstractNode<LayoutView>, f: &fn(Option<&str>) -> R) -> R {
f(None)
}
fn with_node_name<R>(&self, node: &AbstractNode<LayoutView>, f: &fn(&str) -> R) -> R {
with_node_name(*node, f)
}