aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/node.rs
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@mozilla.com>2014-09-30 20:29:10 -0700
committerCameron Zwarich <zwarich@mozilla.com>2014-09-30 21:21:00 -0700
commit4ef0f39c7877ee98c0d7fe826badd63e2bb97d6d (patch)
treee878b8bd1a97e27a202a18145691e33471545d9a /components/style/node.rs
parent6358b7d94e14fc61348fd56bcd5c0ff50ae11156 (diff)
downloadservo-4ef0f39c7877ee98c0d7fe826badd63e2bb97d6d.tar.gz
servo-4ef0f39c7877ee98c0d7fe826badd63e2bb97d6d.zip
Remove a prefix from a method name by manually resolving methods
Diffstat (limited to 'components/style/node.rs')
-rw-r--r--components/style/node.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/style/node.rs b/components/style/node.rs
index 749e9fbe6ea..d2624c241fe 100644
--- a/components/style/node.rs
+++ b/components/style/node.rs
@@ -11,8 +11,7 @@ use string_cache::{Atom, Namespace};
pub trait TNode<'a, E: TElement<'a>> : Clone {
fn parent_node(&self) -> Option<Self>;
- /// Name is prefixed to avoid a conflict with TLayoutNode.
- fn tnode_first_child(&self) -> Option<Self>;
+ fn first_child(&self) -> Option<Self>;
fn prev_sibling(&self) -> Option<Self>;
fn next_sibling(&self) -> Option<Self>;
fn is_document(&self) -> bool;